Sha256: 9fdb3dc4ac746519cf9584f0953ed8f621cd99b96e6feb80cb976d9645e7fcb1

Contents?: true

Size: 254 Bytes

Versions: 10

Compression:

Stored size: 254 Bytes

Contents

require_relative '../booking'

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

    require_relative '../ticket'

    collection :tickets, Channel::Ticket

    attribute :valid_from, type: :datetime
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

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