Skip to content

Unable to Write Feed Data (1.0.4) #14

@mstephenhunt

Description

@mstephenhunt

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!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions