From 7810d888c1c40b9af7ac7f94b5798d9d54d9a446 Mon Sep 17 00:00:00 2001 From: Weston Platter Date: Sun, 2 Nov 2014 20:29:13 -0700 Subject: [PATCH] formatting. alphabetize key-values by keys and add comments. --- lib/stripe/util.rb | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/lib/stripe/util.rb b/lib/stripe/util.rb index 42b0ce21..3ebcea56 100644 --- a/lib/stripe/util.rb +++ b/lib/stripe/util.rb @@ -17,23 +17,26 @@ module Stripe def self.object_classes @object_classes ||= { + # data structures + 'list' => ListObject, + + # business objects + 'application_fee' => ApplicationFee, 'balance' => Balance, 'balance_transaction' => BalanceTransaction, + 'card' => Card, 'charge' => Charge, + 'coupon' => Coupon, 'customer' => Customer, + 'event' => Event, + 'fee_refund' => ApplicationFeeRefund, 'invoiceitem' => InvoiceItem, 'invoice' => Invoice, 'plan' => Plan, - 'coupon' => Coupon, - 'event' => Event, - 'transfer' => Transfer, 'recipient' => Recipient, - 'card' => Card, - 'subscription' => Subscription, - 'list' => ListObject, 'refund' => Refund, - 'application_fee' => ApplicationFee, - 'fee_refund' => ApplicationFeeRefund + 'subscription' => Subscription, + 'transfer' => Transfer } end