lib/tickethub/supplier/channel.rb in tickethub-0.3.55 vs lib/tickethub/supplier/channel.rb in tickethub-0.3.56
- old
+ new
@@ -6,10 +6,10 @@
require_relative 'partner'
require_relative 'product'
require_relative '../token'
- association :product, Supplier::Product
+ collection :products, Supplier::Product
association :partner, Supplier::Partner
attribute :updated_at, type: :datetime
attribute :created_at, type: :datetime
end
\ No newline at end of file