Class: RTM::Auth::GetFrob

Inherits:
RTM::API show all
Defined in:
lib/rtmilk/api/auth.rb

Instance Method Summary collapse

Methods inherited from RTM::API

#api_host, auth_host, get_auth_url, init, #invoke, key, #sign, token, token=

Constructor Details

#initializeGetFrob

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