mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-09-22 00:00:31 -04:00
whoops, respond_to? cannot be protected
This commit is contained in:
parent
45fe0c2591
commit
7275b9b951
@ -102,6 +102,13 @@ module Stripe
|
||||
@values.each(&blk)
|
||||
end
|
||||
|
||||
def marshal_dump
|
||||
@values
|
||||
end
|
||||
|
||||
def marshal_load(values)
|
||||
@values = values
|
||||
|
||||
if RUBY_VERSION < '1.9.2'
|
||||
def respond_to?(symbol)
|
||||
@values.has_key?(symbol) || super
|
||||
|
Loading…
x
Reference in New Issue
Block a user