Exception: Angus::Remote::MethodArgumentError
- Inherits:
-
Exception
- Object
- Exception
- Angus::Remote::MethodArgumentError
- Defined in:
- lib/angus/remote/exceptions.rb
Instance Method Summary collapse
-
#initialize(method) ⇒ MethodArgumentError
constructor
A new instance of MethodArgumentError.
- #message ⇒ Object
Constructor Details
#initialize(method) ⇒ MethodArgumentError
Returns a new instance of MethodArgumentError.
38 39 40 |
# File 'lib/angus/remote/exceptions.rb', line 38 def initialize(method) @method = method end |
Instance Method Details
#message ⇒ Object
42 43 44 |
# File 'lib/angus/remote/exceptions.rb', line 42 def "Invalid http method: #@method" end |