Exception: FlickRaw::FailedResponse
- Inherits:
-
StandardError
- Object
- StandardError
- FlickRaw::FailedResponse
- Defined in:
- lib/flickraw.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(msg, code, req) ⇒ FailedResponse
constructor
A new instance of FailedResponse.
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
#code ⇒ Object (readonly)
Returns the value of attribute code.
96 97 98 |
# File 'lib/flickraw.rb', line 96 def code @code end |