Class: RTM::Auth::GetFrob
Instance Method Summary collapse
-
#initialize ⇒ GetFrob
constructor
A new instance of GetFrob.
-
#parse_result(result) ⇒ Object
return frob.
Methods inherited from RTM::API
#api_host, auth_host, get_auth_url, init, #invoke, key, #sign, token, token=
Constructor Details
#initialize ⇒ GetFrob
Returns a new instance of GetFrob.
14 15 16 |
# File 'lib/rtmilk/api/auth.rb', line 14 def initialize super 'rtm.auth.getFrob' end |
Instance Method Details
#parse_result(result) ⇒ Object
return frob
9 10 11 12 |
# File 'lib/rtmilk/api/auth.rb', line 9 def parse_result(result) super result['frob'].first end |