lib/tickethub/supplier/customer.rb in tickethub-0.0.12 vs lib/tickethub/supplier/customer.rb in tickethub-0.0.14
- old
+ new
@@ -10,12 +10,14 @@
require_relative 'card'
require_relative '../address'
collection :cards, Supplier::Card
- collection :bookings, Supplier::Booking
+ collection :orders, Supplier::Booking
collection :tickets, Supplier::Ticket
collection :messages, Supplier::Message
association :address, Tickethub::Address
+
+ attribute :revenue, type: :money
end
end
\ No newline at end of file