lib/tickethub/supplier/product.rb in tickethub-0.2.8 vs lib/tickethub/supplier/product.rb in tickethub-0.2.9

- old
+ new

@@ -21,10 +21,11 @@ require_relative 'reseller' require_relative 'question' require_relative 'answer' require_relative 'tax' require_relative 'scan' + require_relative 'import' collection :bookings, Supplier::Booking collection :vouchers, Supplier::Voucher collection :tickets, Supplier::Ticket collection :tiers, Supplier::Tier @@ -34,9 +35,10 @@ collection :rates, Supplier::Rate collection :questions, Supplier::Question collection :answers, Supplier::Answer collection :taxes, Supplier::Tax collection :scans, Supplier::Scan + collection :imports, Supplier::Import collection :options, Supplier::Option do def dates(from, to, booking = {}) @endpoint[:dates].get(from: from, to: to, booking: booking).decoded end \ No newline at end of file