Sha256: b5df277222d0ac8a38ff8883e093a85337292877985ef6ff7c62b805d2c1ea02
Contents?: true
Size: 783 Bytes
Versions: 2
Compression:
Stored size: 783 Bytes
Contents
# Kosher is a somewhat overengineered attempt to abstract bookdealing into a # set of models. require 'money' require 'structure' require 'structure/json' # Require this module before all models. require 'kosher/threshold' # Require the models. require 'kosher/author' require 'kosher/availability' require 'kosher/book' require 'kosher/condition' require 'kosher/description' require 'kosher/image' require 'kosher/item' require 'kosher/location' require 'kosher/offer' require 'kosher/seller' require 'kosher/shipping' module Kosher class << self attr_writer :seller_blacklist def seller_blacklist @seller_blacklist ||= [] end end # Set threshold defaults. Availability.threshold = 48 Condition.threshold = 4 Seller.threshold = 4.8 end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
kosher-0.5.0 | lib/kosher.rb |
kosher-0.4.0 | lib/kosher.rb |