Sha256: 7f5cfae1ae2fc367303d7b6663e69ea254d04cec3a18240aa8d0a7c36164af38

Contents?: true

Size: 441 Bytes

Versions: 10

Compression:

Stored size: 441 Bytes

Contents

require_relative '../resource'

module Tickethub
  class Supplier::Channel < Resource
    path '/supplier/channels'

    require_relative 'reseller'
    require_relative 'product'

    require_relative '../token'

    collection :resellers, Supplier::Reseller
    collection :products, Supplier::Product
    collection :tokens, Tickethub::Token

    attribute :updated_at, type: :datetime
    attribute :created_at, type: :datetime
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
tickethub-0.3.100 lib/tickethub/supplier/channel.rb
tickethub-0.3.99 lib/tickethub/supplier/channel.rb
tickethub-0.3.98 lib/tickethub/supplier/channel.rb
tickethub-0.3.97 lib/tickethub/supplier/channel.rb
tickethub-0.3.96 lib/tickethub/supplier/channel.rb
tickethub-0.3.95 lib/tickethub/supplier/channel.rb
tickethub-0.3.94 lib/tickethub/supplier/channel.rb
tickethub-0.3.93 lib/tickethub/supplier/channel.rb
tickethub-0.3.92 lib/tickethub/supplier/channel.rb
tickethub-0.3.91 lib/tickethub/supplier/channel.rb