Sha256: a76cb850d74233bac5db7a08ce7d129016c8344fbaafe94384e1fc9d7a80f987

Contents?: true

Size: 258 Bytes

Versions: 22

Compression:

Stored size: 258 Bytes

Contents

require_relative '../booking'

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

    require_relative '../voucher'

    collection :vouchers, Reseller::Voucher

    attribute :expires_on, type: :date
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

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