Exception: HTTPError
- Inherits:
-
StandardError
- Object
- StandardError
- HTTPError
- Defined in:
- lib/exceptions.rb
Direct Known Subclasses
Class Attribute Summary collapse
-
.code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
Class Attribute Details
.code ⇒ Object (readonly)
Returns the value of attribute code.
5 6 7 |
# File 'lib/exceptions.rb', line 5 def code @code end |
Instance Method Details
#code ⇒ Object
8 9 10 |
# File 'lib/exceptions.rb', line 8 def code self.class.code end |