Sha256: 947116f36e03975d0106d6e0c773800ebb76698832ba4c8a838492b37e580999

Contents?: true

Size: 255 Bytes

Versions: 10

Compression:

Stored size: 255 Bytes

Contents

require_relative '../booking'

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

    require_relative '../voucher'

    collection :vouchers, Channel::Voucher

    attribute :expires_on, type: :date
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
tickethub-0.3.58 lib/tickethub/channel/booking/voucher.rb
tickethub-0.3.57 lib/tickethub/channel/booking/voucher.rb
tickethub-0.3.55 lib/tickethub/channel/booking/voucher.rb
tickethub-0.3.54 lib/tickethub/channel/booking/voucher.rb
tickethub-0.3.53 lib/tickethub/channel/booking/voucher.rb
tickethub-0.3.52 lib/tickethub/channel/booking/voucher.rb
tickethub-0.3.51 lib/tickethub/channel/booking/voucher.rb
tickethub-0.3.50 lib/tickethub/channel/booking/voucher.rb
tickethub-0.3.49 lib/tickethub/channel/booking/voucher.rb
tickethub-0.3.47 lib/tickethub/channel/booking/voucher.rb