diff --git a/README.md b/README.md index dff61ef..1d72c44 100644 --- a/README.md +++ b/README.md @@ -243,7 +243,7 @@ require "mailerlite-ruby" # Intialize the class groups = MailerLite::Groups.new -subscribers.assign_subscriber(subscriber_id:111222, group_id:1234567) +groups.assign_subscriber(subscriber:111222, group_id:1234567) ``` ### Unassign subscriber from a group @@ -256,7 +256,7 @@ require "mailerlite-ruby" # Intialize the class groups = MailerLite::Groups.new -subscribers.unassign_subscriber(subscriber_id:111222, group_id:1234567) +groups.unassign_subscriber(subscriber:111222, group_id:1234567) ``` ## Segments @@ -798,4 +798,4 @@ bundle i bundle exec yardoc 'lib/**/*.rb' ``` -This will generate html docs in the doc directory which can be opened up in any browser. Navigate to index.html and open it up. \ No newline at end of file +This will generate html docs in the doc directory which can be opened up in any browser. Navigate to index.html and open it up.