Class: RTM::Lists::GetList
Overview
Delete
Instance Method Summary collapse
-
#initialize(token) ⇒ GetList
constructor
A new instance of GetList.
-
#parse_result(result) ⇒ Object
return [name, smart, filter?, id, archived, deleted, position, locked]*.
Methods inherited from API
#api_host, auth_host, get_auth_url, init, #invoke, key, #sign, token, token=
Constructor Details
#initialize(token) ⇒ GetList
Returns a new instance of GetList.
52 53 54 |
# File 'lib/rtmilk/api/lists.rb', line 52 def initialize(token) super 'rtm.lists.getList', token end |
Instance Method Details
#parse_result(result) ⇒ Object
return [name, smart, filter?, id, archived, deleted, position, locked]*
47 48 49 50 |
# File 'lib/rtmilk/api/lists.rb', line 47 def parse_result(result) super result['lists'].first['list'] end |