Exception: Transifex::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Transifex::Error
- Defined in:
- lib/transifex/error.rb
Direct Known Subclasses
Conflict, Forbidden, NotAcceptable, NotFound, Unauthorized, UnprocessableEntity, UnsupportedMediaType
Instance Attribute Summary collapse
-
#response ⇒ Object
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response = nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(response = nil) ⇒ Error
Returns a new instance of Error.
4 5 6 7 |
# File 'lib/transifex/error.rb', line 4 def initialize(response = nil) @response = response super end |
Instance Attribute Details
#response ⇒ Object
Returns the value of attribute response.
3 4 5 |
# File 'lib/transifex/error.rb', line 3 def response @response end |