Sha256: 1819a62899c2f8ad9929c6fc6ab36ad3964106e146e7afccfc65a30e8e22c5f0

Contents?: true

Size: 419 Bytes

Versions: 11

Compression:

Stored size: 419 Bytes

Contents

require_relative '../resource'

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

    require_relative 'product'
    require_relative '../token'

    association :private_token, Tickethub::Token
    association :public_token, Tickethub::Token

    association :product, Supplier::Product

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
tickethub-0.3.42 lib/tickethub/supplier/channel.rb
tickethub-0.3.41 lib/tickethub/supplier/channel.rb
tickethub-0.3.40 lib/tickethub/supplier/channel.rb
tickethub-0.3.39 lib/tickethub/supplier/channel.rb
tickethub-0.3.38 lib/tickethub/supplier/channel.rb
tickethub-0.3.37 lib/tickethub/supplier/channel.rb
tickethub-0.3.36 lib/tickethub/supplier/channel.rb
tickethub-0.3.32 lib/tickethub/supplier/channel.rb
tickethub-0.3.31 lib/tickethub/supplier/channel.rb
tickethub-0.3.30 lib/tickethub/supplier/channel.rb
tickethub-0.3.29 lib/tickethub/supplier/channel.rb