lib/tickethub/supplier/booking/ticket.rb in tickethub-0.3.4 vs lib/tickethub/supplier/booking/ticket.rb in tickethub-0.3.6
- old
+ new
@@ -3,10 +3,15 @@
module Tickethub
class Supplier::Booking::Ticket < Supplier::Booking
polymorphic 'ticket'
require_relative '../ticket'
+ require_relative '../tier'
+ require_relative '../scan'
collection :tickets, Supplier::Ticket
+ collection :tiers, Supplier::Tier
+ collection :scans, Supplier::Scan
+
attribute :valid_from, type: :datetime
end
end
\ No newline at end of file