Sha256: 3bff7d25d3834f67ccfffb5e8421e92ce133b7d1d782da03c5d34d7ab381cdd4

Contents?: true

Size: 326 Bytes

Versions: 22

Compression:

Stored size: 326 Bytes

Contents

require_relative '../booking'

module Tickethub
  class Reseller::Booking::Ticket < Reseller::Booking
    polymorphic 'ticket'

    require_relative '../ticket'
    require_relative '../scan'

    collection :tickets, Reseller::Ticket
    collection :scans, Reseller::Scan

    attribute :valid_from, type: :datetime
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

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