mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-09-22 00:00:31 -04:00
fix tests
This commit is contained in:
parent
c880d6a277
commit
02b40e6637
@ -112,7 +112,7 @@ module Stripe
|
||||
|
||||
if RUBY_VERSION < '1.9.2'
|
||||
def respond_to?(symbol)
|
||||
@values.has_key?(symbol) || super
|
||||
@values && @values.has_key?(symbol) || super
|
||||
end
|
||||
end
|
||||
|
||||
@ -180,7 +180,7 @@ module Stripe
|
||||
end
|
||||
|
||||
def respond_to_missing?(symbol, include_private = false)
|
||||
@values.has_key?(symbol) || super
|
||||
@values && @values.has_key?(symbol) || super
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user