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

Unable to Write Feed Data (1.0.4) #14

Open
mstephenhunt opened this issue Aug 17, 2016 · 0 comments
Open

Unable to Write Feed Data (1.0.4) #14

mstephenhunt opened this issue Aug 17, 2016 · 0 comments

Comments

@mstephenhunt
Copy link

Hey--

I did an update to 1.0.4 and noticed that my feeds were unable to write using this command:
data = aio.feeds("test_feed").data.last

I'm getting this exception thrown:

/usr/local/rvm/gems/ruby-2.3.0/gems/adafruit-io-1.0.4/lib/adafruit/io/client/data.rb:11:in `initialize': undefined method `id' for #<Adafruit::IO::Feed:0x00000002946c20> (NoMethodError)
        from /usr/local/rvm/gems/ruby-2.3.0/gems/adafruit-io-1.0.4/lib/adafruit/io/client/feed.rb:45:in `new'
        from /usr/local/rvm/gems/ruby-2.3.0/gems/adafruit-io-1.0.4/lib/adafruit/io/client/feed.rb:45:in `data'
        from notes/adafruit_write.rb:5:in `<main>'

Downgrading to 1.0.3 fixed the issue though. (PS, love the work you guys have done on this library!)

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

1 participant