Sha256: 04b9e001a32207bae3ad20825df6f06eefd0544b077410dc52cd26f5ba6206d6

Contents?: true

Size: 281 Bytes

Versions: 3

Compression:

Stored size: 281 Bytes

Contents

module Conekta
  class CardError < ConektaError
    attr_reader :param, :code

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
conekta-0.3.3 lib/conekta/errors/card_error.rb
conekta-0.3.1 lib/conekta/errors/card_error.rb
conekta-0.3.0 lib/conekta/errors/card_error.rb