Exception: Flickr::OAuthClient::FailedResponse

Inherits:
Error
  • Object
show all
Defined in:
lib/flickr/oauth_client.rb

Instance Method Summary collapse

Constructor Details

#initialize(str) ⇒ FailedResponse

Returns a new instance of FailedResponse.



10
11
12
13
# File 'lib/flickr/oauth_client.rb', line 10

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