Exception: Angus::Remote::MethodArgumentError

Inherits:
Exception
  • Object
show all
Defined in:
lib/angus/remote/exceptions.rb

Instance Method Summary collapse

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

#messageObject



42
43
44
# File 'lib/angus/remote/exceptions.rb', line 42

def message
  "Invalid http method: #@method"
end