Sha256: 5d8607e9a131c7f693ca29873bb13606e9abfb1cb77927d7618737c1dbba514c

Contents?: true

Size: 327 Bytes

Versions: 46

Compression:

Stored size: 327 Bytes

Contents

require_relative '../booking'

module Tickethub
  class Supplier::Booking::Voucher < Supplier::Booking
    polymorphic 'voucher'

    require_relative '../voucher'
    require_relative '../tier'

    collection :tiers, Supplier::Tier
    collection :vouchers, Supplier::Voucher

    attribute :expires_on, type: :date
  end
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
tickethub-0.3.58 lib/tickethub/supplier/booking/voucher.rb
tickethub-0.3.57 lib/tickethub/supplier/booking/voucher.rb
tickethub-0.3.56 lib/tickethub/supplier/booking/voucher.rb
tickethub-0.3.55 lib/tickethub/supplier/booking/voucher.rb
tickethub-0.3.54 lib/tickethub/supplier/booking/voucher.rb
tickethub-0.3.53 lib/tickethub/supplier/booking/voucher.rb
tickethub-0.3.52 lib/tickethub/supplier/booking/voucher.rb
tickethub-0.3.51 lib/tickethub/supplier/booking/voucher.rb
tickethub-0.3.50 lib/tickethub/supplier/booking/voucher.rb
tickethub-0.3.49 lib/tickethub/supplier/booking/voucher.rb
tickethub-0.3.47 lib/tickethub/supplier/booking/voucher.rb
tickethub-0.3.46 lib/tickethub/supplier/booking/voucher.rb
tickethub-0.3.45 lib/tickethub/supplier/booking/voucher.rb
tickethub-0.3.44 lib/tickethub/supplier/booking/voucher.rb
tickethub-0.3.43 lib/tickethub/supplier/booking/voucher.rb
tickethub-0.3.42 lib/tickethub/supplier/booking/voucher.rb
tickethub-0.3.41 lib/tickethub/supplier/booking/voucher.rb
tickethub-0.3.40 lib/tickethub/supplier/booking/voucher.rb
tickethub-0.3.39 lib/tickethub/supplier/booking/voucher.rb
tickethub-0.3.38 lib/tickethub/supplier/booking/voucher.rb