lib/tickethub/supplier/channel.rb in tickethub-0.3.90 vs lib/tickethub/supplier/channel.rb in tickethub-0.3.91
- old
+ new
@@ -2,17 +2,17 @@
module Tickethub
class Supplier::Channel < Resource
path '/supplier/channels'
- require_relative 'partner'
require_relative 'reseller'
require_relative 'product'
+
require_relative '../token'
+ collection :resellers, Supplier::Reseller
collection :products, Supplier::Product
- association :partner, Supplier::Partner
- association :reseller, Supplier::Reseller
+ collection :tokens, Tickethub::Token
attribute :updated_at, type: :datetime
attribute :created_at, type: :datetime
end
end
\ No newline at end of file