Exception: HttpErrors::HTTPError
- Inherits:
-
StandardError
- Object
- StandardError
- HttpErrors::HTTPError
- Defined in:
- lib/http_errors.rb
Overview
Base class for generating particular auth errors
Class Attribute Summary collapse
-
.head ⇒ Object
Returns the value of attribute head.
-
.status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ HTTPError
constructor
A new instance of HTTPError.
Constructor Details
#initialize(message = nil) ⇒ HTTPError
Returns a new instance of HTTPError.
11 12 13 |
# File 'lib/http_errors.rb', line 11 def initialize( = nil) super end |
Class Attribute Details
.head ⇒ Object
Returns the value of attribute head.
8 9 10 |
# File 'lib/http_errors.rb', line 8 def head @head end |
.status ⇒ Object
Returns the value of attribute status.
7 8 9 |
# File 'lib/http_errors.rb', line 7 def status @status end |