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

Docs outdated? #196

Open
bhaity opened this issue May 30, 2019 · 2 comments
Open

Docs outdated? #196

bhaity opened this issue May 30, 2019 · 2 comments

Comments

@bhaity
Copy link

bhaity commented May 30, 2019

It seems that Hubspot::Company.new(name: "My Company LLC") fails with NoMethodError: undefined method each' for nil:NilClass in utils.rb:7:in 'properties_to_hash', on both master and v0-stable.

Digging around in the source code revealed that Hubspot::Company.create!('My Company LLC.') worked instead.

Would it be possible to update the documentation to reflect the current state of the project? Are there other example method calls that should be updated as well?

@manpreetnarang
Copy link

Looks like master is still being updated and the gem released is 0.9.0, I guess you just need to use the docs here: https://github.com/adimichele/hubspot-ruby/tree/v0.9.0

@pradeepibz
Copy link

@manpreetnarang - Thank you very much.

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

3 participants