class Payoneer::Errors::ApiError
Attributes
http_body[R]
http_status[R]
Public Class Methods
new(http_status = nil, http_body = nil)
click to toggle source
# File lib/payoneer/errors/api_error.rb, line 7 def initialize(http_status = nil, http_body = nil) @http_status = http_status @http_body = http_body end
Public Instance Methods
to_s()
click to toggle source
# File lib/payoneer/errors/api_error.rb, line 12 def to_s "(Status #{http_status}) Unexpected http response code" end