Sha256: 03b5a30f991a3f651922fc2e1fdeab6c579eb2b6b72c487afe93510c1960c45f

Contents?: true

Size: 279 Bytes

Versions: 40

Compression:

Stored size: 279 Bytes

Contents

module Stripe
  class CardError < StripeError
    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

40 entries across 40 versions & 1 rubygems

Version Path
stripe-1.10.0 lib/stripe/errors/card_error.rb
stripe-1.9.9 lib/stripe/errors/card_error.rb
stripe-1.8.8 lib/stripe/errors/card_error.rb
stripe-1.8.7 lib/stripe/errors/card_error.rb
stripe-1.8.6 lib/stripe/errors/card_error.rb
stripe-1.8.5 lib/stripe/errors/card_error.rb
stripe-1.8.4 lib/stripe/errors/card_error.rb
stripe-1.8.3 lib/stripe/errors/card_error.rb
stripe-1.8.2 lib/stripe/errors/card_error.rb
stripe-1.8.1 lib/stripe/errors/card_error.rb
stripe-1.7.11 lib/stripe/errors/card_error.rb
stripe-1.7.10 lib/stripe/errors/card_error.rb
stripe-1.7.9 lib/stripe/errors/card_error.rb
stripe-1.7.8 lib/stripe/errors/card_error.rb
stripe-1.7.7 lib/stripe/errors/card_error.rb
stripe-1.7.6 lib/stripe/errors/card_error.rb
stripe-1.7.4 lib/stripe/errors/card_error.rb
stripe-1.7.3 lib/stripe/errors/card_error.rb
stripe-1.7.2 lib/stripe/errors/card_error.rb
stripe-1.7.1 lib/stripe/errors/card_error.rb