Exception: FlickRaw::OAuthClient::FailedResponse

Inherits:
Error
  • Object
show all
Defined in:
lib/flickraw/oauth.rb

Instance Method Summary collapse

Constructor Details

#initialize(str) ⇒ FailedResponse

Returns a new instance of FailedResponse.


8
9
10
11
# File 'lib/flickraw/oauth.rb', line 8

def initialize(str)
  @response = OAuthClient.parse_response(str)
  super(@response['oauth_problem'])
end