Sha256: c9699225a09328a749307c16112bc7a181f874bd9bad6fce027aec6b039133f5

Contents?: true

Size: 162 Bytes

Versions: 3

Compression:

Stored size: 162 Bytes

Contents

module Kosher
  class Seller < Structure
    key :location
    key :name
    key :kosher, default: false

    def kosher?
      Boolean(kosher)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kosher-0.17.2 lib/kosher/seller.rb
kosher-0.17.1 lib/kosher/seller.rb
kosher-0.17.0 lib/kosher/seller.rb