From 55ad44027e0f278dba62a6c683318f168491097a Mon Sep 17 00:00:00 2001 From: Dino Date: Fri, 6 Dec 2024 15:19:56 +0100 Subject: [PATCH] feat: readme update --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 977851b..c8c3da9 100644 --- a/README.md +++ b/README.md @@ -131,7 +131,7 @@ require "mailerlite-ruby" # Intialize the class subscribers = MailerLite::Subscribers.new -subscribers.update(email:'some@email.com', fields: {'name': 'John', 'last_name': 'Doe'}, ip_address:'1.2.3.4', optin_ip:'1.2.3.4') +subscribers.update('some@email.com', fields: {'name': 'John', 'last_name': 'Doe'}, ip_address:'1.2.3.4', optin_ip:'1.2.3.4') ``` ### Get a subscriber