lib/tickethub/supplier.rb in tickethub-0.3.64 vs lib/tickethub/supplier.rb in tickethub-0.3.65
- old
+ new
@@ -3,10 +3,11 @@
path '/supplier', singleton: true
require_relative 'supplier/customer'
require_relative 'supplier/order'
require_relative 'supplier/booking'
+ require_relative 'supplier/purchase'
require_relative 'supplier/reseller'
require_relative 'supplier/ticket'
require_relative 'supplier/extra'
require_relative 'supplier/product'
require_relative 'supplier/subscription'
@@ -37,9 +38,10 @@
require_relative 'token'
collection :customers, Customer
collection :orders, Order
collection :bookings, Booking
+ collection :purchases, Purchase
collection :resellers, Reseller
collection :tickets, Ticket
collection :extras, Extra
collection :products, Product
collection :subscriptions, Subscription
\ No newline at end of file