lib/stripe/util.rb in stripe-1.7.11 vs lib/stripe/util.rb in stripe-1.8.1
- old
+ new
@@ -23,9 +23,10 @@
'invoice' => Invoice,
'plan' => Plan,
'coupon' => Coupon,
'event' => Event,
'transfer' => Transfer,
+ 'recipient' => Recipient,
'list' => ListObject
}
case resp
when Array
resp.map { |i| convert_to_stripe_object(i, api_key) }