lib/kosher/offer.rb in kosher-0.2.6 vs lib/kosher/offer.rb in kosher-0.2.7
- old
+ new
@@ -1,6 +1,6 @@
module Kosher
- class Offer < Struct.new(:id, :url, :item, :seller, :shipping)
+ class Offer < Struct.new(:id, :item, :seller, :shipping)
include Comparable
def <=>(other)
if self.kosher? != other.kosher?
self.kosher? ? -1 : 1