Exception: Payjp::InvalidRequestError

Inherits:
PayjpError
  • Object
show all
Defined in:
lib/payjp/errors/invalid_request_error.rb

Instance Attribute Summary collapse

Attributes inherited from PayjpError

#http_body, #http_status, #json_body, #message

Instance Method Summary collapse

Methods inherited from PayjpError

#to_s

Constructor Details

#initialize(message, param, http_status = nil, http_body = nil, json_body = nil) ⇒ InvalidRequestError

Returns a new instance of InvalidRequestError.



5
6
7
8
# File 'lib/payjp/errors/invalid_request_error.rb', line 5

def initialize(message, param, http_status = nil, http_body = nil, json_body = nil)
  super(message, http_status, http_body, json_body)
  @param = param
end

Instance Attribute Details

#paramObject

Returns the value of attribute param.



3
4
5
# File 'lib/payjp/errors/invalid_request_error.rb', line 3

def param
  @param
end