lib/tickethub/supplier/product.rb in tickethub-0.3.15 vs lib/tickethub/supplier/product.rb in tickethub-0.3.16

- old
+ new

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