lib/a2z/responses/offer_summary.rb in a2z-0.1.1 vs lib/a2z/responses/offer_summary.rb in a2z-0.1.2
- old
+ new
@@ -46,10 +46,10 @@
if data['LowestNewPrice']
offer_summary.lowest_new_price = Money.new(data['LowestNewPrice']['Amount'].to_i, data['LowestNewPrice']['CurrencyCode'])
end
if data['LowestUsedPrice']
- offer_summary.lowest_used_price = Money.new(data['LowestNewPrice']['Amount'].to_i, data['LowestNewPrice']['CurrencyCode'])
+ offer_summary.lowest_used_price = Money.new(data['LowestUsedPrice']['Amount'].to_i, data['LowestUsedPrice']['CurrencyCode'])
end
offer_summary.total_new = data['TotalNew']
offer_summary.total_used = data['TotalUsed']
offer_summary.total_collectible = data['TotalCollectible']