Accept any arguments to StripeObject#as_json

This commit is contained in:
Brian Collins 2012-02-24 15:30:24 -08:00
parent c6847c2ad2
commit dcc1e80ea6
3 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
1.6.1
1.6.2

View File

@ -214,7 +214,7 @@ module Stripe
def keys; @values.keys; end
def values; @values.values; end
def to_json(*a); @values.to_json(*a); end
def as_json(opts=nil); @values.as_json(opts); end
def as_json(*a); @values.as_json(*a); end
def to_hash; @values; end
def each(&blk); @values.each(&blk); end

View File

@ -1,3 +1,3 @@
module Stripe
VERSION = '1.6.1'
VERSION = '1.6.2'
end