lib/stripe/util.rb in stripe-1.7.4 vs lib/stripe/util.rb in stripe-1.7.6
- old
+ new
@@ -22,10 +22,11 @@
'invoiceitem' => InvoiceItem,
'invoice' => Invoice,
'plan' => Plan,
'coupon' => Coupon,
'event' => Event,
- 'transfer' => Transfer
+ 'transfer' => Transfer,
+ 'list' => ListObject
}
case resp
when Array
resp.map { |i| convert_to_stripe_object(i, api_key) }
when Hash