mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-12-08 00:01:02 -05:00
formatting. alphabetize key-values by keys and add comments.
This commit is contained in:
parent
30b0e4156a
commit
7810d888c1
@ -17,23 +17,26 @@ module Stripe
|
|||||||
|
|
||||||
def self.object_classes
|
def self.object_classes
|
||||||
@object_classes ||= {
|
@object_classes ||= {
|
||||||
|
# data structures
|
||||||
|
'list' => ListObject,
|
||||||
|
|
||||||
|
# business objects
|
||||||
|
'application_fee' => ApplicationFee,
|
||||||
'balance' => Balance,
|
'balance' => Balance,
|
||||||
'balance_transaction' => BalanceTransaction,
|
'balance_transaction' => BalanceTransaction,
|
||||||
|
'card' => Card,
|
||||||
'charge' => Charge,
|
'charge' => Charge,
|
||||||
|
'coupon' => Coupon,
|
||||||
'customer' => Customer,
|
'customer' => Customer,
|
||||||
|
'event' => Event,
|
||||||
|
'fee_refund' => ApplicationFeeRefund,
|
||||||
'invoiceitem' => InvoiceItem,
|
'invoiceitem' => InvoiceItem,
|
||||||
'invoice' => Invoice,
|
'invoice' => Invoice,
|
||||||
'plan' => Plan,
|
'plan' => Plan,
|
||||||
'coupon' => Coupon,
|
|
||||||
'event' => Event,
|
|
||||||
'transfer' => Transfer,
|
|
||||||
'recipient' => Recipient,
|
'recipient' => Recipient,
|
||||||
'card' => Card,
|
|
||||||
'subscription' => Subscription,
|
|
||||||
'list' => ListObject,
|
|
||||||
'refund' => Refund,
|
'refund' => Refund,
|
||||||
'application_fee' => ApplicationFee,
|
'subscription' => Subscription,
|
||||||
'fee_refund' => ApplicationFeeRefund
|
'transfer' => Transfer
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user