Sha256: 47e81ce975dcc85024e6b8d91b9553d57f358e05019f44e660cc4ecf6a95ecd9

Contents?: true

Size: 732 Bytes

Versions: 2

Compression:

Stored size: 732 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/availability'
require 'kosher/condition'
require 'kosher/description'
require 'kosher/item'
require 'kosher/location'
require 'kosher/offer'
require 'kosher/price'
require 'kosher/seller'
require 'kosher/shipping'
require 'kosher/venue'

module Kosher
  class << self
    def seller_blacklist
      @seller_blacklist ||= Array.new
    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.8.0 lib/kosher.rb
kosher-0.7.0 lib/kosher.rb