lib/stripe/util.rb in stripe-3.12.1 vs lib/stripe/util.rb in stripe-3.13.0
- old
+ new
@@ -83,9 +83,10 @@
SubscriptionItem::OBJECT_NAME => SubscriptionItem,
ThreeDSecure::OBJECT_NAME => ThreeDSecure,
Token::OBJECT_NAME => Token,
Topup::OBJECT_NAME => Topup,
Transfer::OBJECT_NAME => Transfer,
+ UsageRecord::OBJECT_NAME => UsageRecord,
}
end
# Converts a hash of fields or an array of hashes into a +StripeObject+ or
# array of +StripeObject+s. These new objects will be created as a concrete