Class: RTM::Timelines::Create
Instance Method Summary collapse
-
#initialize(token) ⇒ Create
constructor
A new instance of Create.
- #parse_result(result) ⇒ Object
Methods inherited from API
get_auth_url, init, #invoke, key, #sign, token, token=
Constructor Details
#initialize(token) ⇒ Create
Returns a new instance of Create.
13 14 15 |
# File 'lib/rtmilk/api/timelines.rb', line 13 def initialize(token) super 'rtm.timelines.create', token end |
Instance Method Details
#parse_result(result) ⇒ Object
8 9 10 11 |
# File 'lib/rtmilk/api/timelines.rb', line 8 def parse_result(result) super result['timeline'].first end |