Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d082c40

Browse files
authored
Fixes typo in README
`create_subscription_types` does not exist on the contact class
1 parent b554ac2 commit d082c40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ contact.remove_company(id: company.id)
170170
contact.companies.each {|c| p c.name}
171171

172172
# attach a subscription_types on a contact
173-
contact.create_subscription_types(id: subscription_type.id)
173+
contact.create_subscription_type(id: subscription_type.id)
174174

175175
# List subscription_types for a contact
176176
contact.subscription_types.each {|n| p n.id}

0 commit comments

Comments
 (0)