Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

example in README doesn't work #7

Closed
idrinkpabst opened this issue Mar 28, 2014 · 2 comments
Closed

example in README doesn't work #7

idrinkpabst opened this issue Mar 28, 2014 · 2 comments

Comments

@idrinkpabst
Copy link

Hey! Great gem BTW. Thank you for sharing

The line

Closeio::Lead.create name: "Bluth Company", contacts: [{name: "Buster Bluth", emails: [{email: "cartographer@bluthcompany.com"}]}]

throws an exception. I guess now in close.io the email type is a required parameter

Closeio::Lead.create name: "Bluth Company", contacts: [{name: "Buster Bluth", emails: [{email: "cartographer@bluthcompany.com", type: "office"}
@taylorbrooks
Copy link
Owner

Oops. Good catch.

@taylorbrooks
Copy link
Owner

Fixed in latest version...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants