Exception: Resteze::InvalidRequestError

Inherits:
Error
  • Object
show all
Defined in:
lib/resteze/errors.rb

Instance Attribute Summary collapse

Attributes inherited from Error

#code, #http_body, #http_headers, #http_status, #json_body, #message, #response

Instance Method Summary collapse

Methods inherited from Error

#to_s

Constructor Details

#initialize(message, param, **keyword_args) ⇒ InvalidRequestError

Returns a new instance of InvalidRequestError.



27
28
29
30
# File 'lib/resteze/errors.rb', line 27

def initialize(message, param, **keyword_args)
  super(message, **keyword_args)
  @param = param
end

Instance Attribute Details

#paramObject

Returns the value of attribute param.



25
26
27
# File 'lib/resteze/errors.rb', line 25

def param
  @param
end