lib/tickethub/supplier/product.rb in tickethub-0.3.84 vs lib/tickethub/supplier/product.rb in tickethub-0.3.85

- old
+ new

@@ -25,10 +25,11 @@ require_relative 'answer' require_relative 'tax' require_relative 'channel' require_relative 'scan' require_relative 'import' + require_relative 'party' collection :bookings, Supplier::Booking collection :tickets, Supplier::Ticket collection :purchases, Supplier::Purchase collection :extras, Supplier::Extra @@ -42,9 +43,10 @@ collection :answers, Supplier::Answer collection :taxes, Supplier::Tax collection :scans, Supplier::Scan collection :channels, Supplier::Channel collection :imports, Supplier::Import + collection :parties, Supplier::Party 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