lib/barnie/response.rb in barnie-0.3.1 vs lib/barnie/response.rb in barnie-0.3.2
- old
+ new
@@ -29,14 +29,14 @@
Kosher::Book.new(
'bn.com',
isbn,
nil,
- nil,
price > 0 ? 1 : 0,
price > 0 ?
[Kosher::Offer.new(
nil,
+ 'bn.com',
Kosher::Item.new(price, 'USD', 1, Kosher::Condition.new(1), Kosher::Description.new('')),
Kosher::Seller.new(nil, 'Barnes & Noble.com', nil, Kosher::Location.new('US')),
Kosher::Shipping.new(0, 'USD', Kosher::Availability.new(hours))
)] :
[])