Sha256: 07a1b7e00835a1a8dc8f50c572aa304e6f21353b37de0373821bf768358bc865

Contents?: true

Size: 283 Bytes

Versions: 13

Compression:

Stored size: 283 Bytes

Contents

module Payjp
  class CardError < PayjpError
    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

13 entries across 13 versions & 1 rubygems

Version Path
payjp-0.0.16 lib/payjp/errors/card_error.rb
payjp-0.0.14 lib/payjp/errors/card_error.rb
payjp-0.0.13 lib/payjp/errors/card_error.rb
payjp-0.0.12 lib/payjp/errors/card_error.rb
payjp-0.0.10 lib/payjp/errors/card_error.rb
payjp-0.0.9 lib/payjp/errors/card_error.rb
payjp-0.0.8 lib/payjp/errors/card_error.rb
payjp-0.0.7 lib/payjp/errors/card_error.rb
payjp-0.0.6 lib/payjp/errors/card_error.rb
payjp-0.0.5 lib/payjp/errors/card_error.rb
payjp-0.0.4 lib/payjp/errors/card_error.rb
payjp-0.0.3 lib/payjp/errors/card_error.rb
payjp-0.0.2 lib/payjp/errors/card_error.rb