cameroncox-mousetrap 0.5.3.1 → 0.5.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/mousetrap/subscription.rb +4 -2
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.3.
|
1
|
+
0.5.3.2
|
@@ -94,7 +94,8 @@ module Mousetrap
|
|
94
94
|
:created_at,
|
95
95
|
:credit_card_expiration_date,
|
96
96
|
:credit_card_last_four_digits,
|
97
|
-
:credit_card_type
|
97
|
+
:credit_card_type,
|
98
|
+
:items
|
98
99
|
|
99
100
|
def self.plural_resource_name
|
100
101
|
'subscriptions'
|
@@ -123,7 +124,8 @@ module Mousetrap
|
|
123
124
|
:created_at => attributes['createdDatetime'],
|
124
125
|
:credit_card_expiration_date => attributes['ccExpirationDate'],
|
125
126
|
:credit_card_last_four_digits => attributes['ccLastFour'],
|
126
|
-
:credit_card_type => attributes['ccType']
|
127
|
+
:credit_card_type => attributes['ccType'],
|
128
|
+
:items => attributes['items']
|
127
129
|
}
|
128
130
|
end
|
129
131
|
end
|