mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-08 00:02:46 -04:00
12 lines
279 B
Ruby
12 lines
279 B
Ruby
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
|