Exception: FlickRaw::FailedResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, code, req) ⇒ FailedResponse

Returns a new instance of FailedResponse.



98
99
100
101
# File 'lib/flickraw.rb', line 98

def initialize(msg, code, req)
  @code = code
  super("'#{req}' - #{msg}")
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



96
97
98
# File 'lib/flickraw.rb', line 96

def code
  @code
end