Method: Payjp::PayjpError#initialize
- Defined in:
- lib/payjp/errors/payjp_error.rb
#initialize(message = nil, http_status = nil, http_body = nil, json_body = nil) ⇒ PayjpError
Returns a new instance of PayjpError.
8 9 10 11 12 13 |
# File 'lib/payjp/errors/payjp_error.rb', line 8 def initialize( = nil, http_status = nil, http_body = nil, json_body = nil) @message = @http_status = http_status @http_body = http_body @json_body = json_body end |