lib/tickethub/supplier/booking.rb in tickethub-0.3.84 vs lib/tickethub/supplier/booking.rb in tickethub-0.3.85
- old
+ new
@@ -15,11 +15,11 @@
require_relative 'tier'
require_relative 'scan'
require_relative 'ticket'
require_relative 'discount'
require_relative 'broadcast'
- require_relative 'group'
+ require_relative 'party'
collection_method :broadcast do |params|
Supplier::Broadcast.call self.endpoint, begin
post(:broadcast, params)
rescue Tickethub::ResourceInvalid => err
@@ -39,10 +39,10 @@
association :order, Supplier::Order
association :rate, Supplier::Rate
association :coupon, Supplier::Coupon
association :product, Supplier::Product
association :variant, Supplier::Variant
- association :group, Supplier::Group
+ association :party, Supplier::Party
attribute :amount, type: :money
attribute :discount, type: :money
attribute :tax, type: :money
attribute :total, type: :money
\ No newline at end of file