Sha256: 2353715c783ca01c9a9e3908a7cf51a298b9ac9c3ed8ab5db031b94f590ff88f

Contents?: true

Size: 173 Bytes

Versions: 7

Compression:

Stored size: 173 Bytes

Contents

module Payoneer
  class ResponseError < StandardError
    attr_reader :code, :body

    def initialize(code:, body:)
      @code = code
      @body = body
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
payoneer-client-0.8.0 lib/payoneer/response_error.rb
payoneer-client-0.7.0 lib/payoneer/response_error.rb
payoneer-client-0.5.0 lib/payoneer/response_error.rb
payoneer-client-0.6.0 lib/payoneer/response_error.rb
payoneer-client-0.4.1 lib/payoneer/response_error.rb
payoneer-client-0.4 lib/payoneer/response_error.rb
payoneer-client-0.3 lib/payoneer/response_error.rb