lib/mousetrap/subscription.rb in cameroncox-mousetrap-0.5.3.1 vs lib/mousetrap/subscription.rb in cameroncox-mousetrap-0.5.3.2

- old
+ new

@@ -92,11 +92,12 @@ :id, :canceled_at, :created_at, :credit_card_expiration_date, :credit_card_last_four_digits, - :credit_card_type + :credit_card_type, + :items def self.plural_resource_name 'subscriptions' end @@ -121,10 +122,11 @@ :id => attributes['id'], :canceled_at => attributes['canceledDatetime'], :created_at => attributes['createdDatetime'], :credit_card_expiration_date => attributes['ccExpirationDate'], :credit_card_last_four_digits => attributes['ccLastFour'], - :credit_card_type => attributes['ccType'] + :credit_card_type => attributes['ccType'], + :items => attributes['items'] } end end end