Sha256: bad7ad90f2cc2a440b5ab4df9698237c8df5bb5f991fdb133c164df24b2e363f

Contents?: true

Size: 248 Bytes

Versions: 1

Compression:

Stored size: 248 Bytes

Contents

class Rivendell::DB::SchedulerCode
  include DataMapper::Resource
  storage_names[:default] = 'SCHED_CODES'

  property :code, String, :key => true
  property :description, String

  def carts
    Rivendell::DB::Cart.scheduler_code(code)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rivendell-db-0.4 lib/rivendell/db/scheduler_code.rb