class PayTrace::Exceptions::ErrorResponse

Raised by default when an error response is returned from the server

Attributes

response[R]

Public Class Methods

new(response) click to toggle source
# File lib/paytrace/exceptions.rb, line 16
def initialize(response)
  @response = response
end

Public Instance Methods

to_s() click to toggle source
# File lib/paytrace/exceptions.rb, line 20
def to_s
  @response.get_response()
end