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.
83 84 85 86 |
# File 'lib/flickraw.rb', line 83 def initialize(msg, code, req) @code = code super("'#{req}' - #{msg}") end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
81 82 83 |
# File 'lib/flickraw.rb', line 81 def code @code end |