Exception: Ridley::Errors::HTTPUnknownMethod
- Inherits:
-
HTTPError
- Object
- StandardError
- RidleyError
- HTTPError
- Ridley::Errors::HTTPUnknownMethod
- Defined in:
- lib/ridley/errors.rb
Instance Attribute Summary collapse
-
#method ⇒ Object
readonly
Returns the value of attribute method.
Attributes inherited from HTTPError
Instance Method Summary collapse
-
#initialize(method) ⇒ HTTPUnknownMethod
constructor
A new instance of HTTPUnknownMethod.
Methods inherited from HTTPError
error_map, fabricate, lookup_error, register_error
Constructor Details
#initialize(method) ⇒ HTTPUnknownMethod
Returns a new instance of HTTPUnknownMethod.
141 142 143 144 |
# File 'lib/ridley/errors.rb', line 141 def initialize(method) @method = method @message = "unknown http method: #{method}" end |
Instance Attribute Details
#method ⇒ Object (readonly)
Returns the value of attribute method.
139 140 141 |
# File 'lib/ridley/errors.rb', line 139 def method @method end |