xdevplatform / twitter-ruby-ads-sdk

A Twitter supported and maintained Ads API SDK for Ruby.
https://twitterdev.github.io/twitter-ruby-ads-sdk/
MIT License
67 stars 71 forks source link

Unable to add start_time or end_time properties to line_item #178

Closed jmarbach closed 5 years ago

jmarbach commented 6 years ago

For example, when I try to assign the end_time property to a line_item, I see the following error:

line_item.end_time = DateTime.now.tomorrow.strftime("%FT%Tz")


NoMethodError: undefined method `end_time=' for #<TwitterAds::LineItem:0x47374068722480 id="c8rkn">
smaeda-ks commented 5 years ago

@jmarbach This should be fixed in the next release. Thanks for pointing this out!