Exception: Nestful::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Nestful::Error
- Defined in:
- lib/nestful/exceptions.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#request ⇒ Object
readonly
Returns the value of attribute request.
Instance Method Summary collapse
-
#initialize(request = nil, message = nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(request = nil, message = nil) ⇒ Error
Returns a new instance of Error.
5 6 7 8 |
# File 'lib/nestful/exceptions.rb', line 5 def initialize(request = nil, = nil) super() @request = request end |
Instance Attribute Details
#request ⇒ Object (readonly)
Returns the value of attribute request.
3 4 5 |
# File 'lib/nestful/exceptions.rb', line 3 def request @request end |