Sha256: 71d64069502aa7578f8e4caf8b70489fe0a7f4e958a07b5bf550c6c72b2d1ef3

Contents?: true

Size: 429 Bytes

Versions: 38

Compression:

Stored size: 429 Bytes

Contents

require_relative '../resource'

module Tickethub
  class Supplier::Widget < Resource
    path '/supplier/widgets'

    require_relative 'session'
    require_relative 'product'
    require_relative 'rate'

    association :product, Supplier::Product
    association :rate, Supplier::Rate

    collection :sessions, Supplier::Session

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

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
tickethub-0.3.56 lib/tickethub/supplier/widget.rb
tickethub-0.3.55 lib/tickethub/supplier/widget.rb
tickethub-0.3.54 lib/tickethub/supplier/widget.rb
tickethub-0.3.53 lib/tickethub/supplier/widget.rb
tickethub-0.3.52 lib/tickethub/supplier/widget.rb
tickethub-0.3.51 lib/tickethub/supplier/widget.rb
tickethub-0.3.50 lib/tickethub/supplier/widget.rb
tickethub-0.3.49 lib/tickethub/supplier/widget.rb
tickethub-0.3.47 lib/tickethub/supplier/widget.rb
tickethub-0.3.46 lib/tickethub/supplier/widget.rb
tickethub-0.3.45 lib/tickethub/supplier/widget.rb
tickethub-0.3.44 lib/tickethub/supplier/widget.rb
tickethub-0.3.43 lib/tickethub/supplier/widget.rb
tickethub-0.3.42 lib/tickethub/supplier/widget.rb
tickethub-0.3.41 lib/tickethub/supplier/widget.rb
tickethub-0.3.40 lib/tickethub/supplier/widget.rb
tickethub-0.3.39 lib/tickethub/supplier/widget.rb
tickethub-0.3.38 lib/tickethub/supplier/widget.rb
tickethub-0.3.37 lib/tickethub/supplier/widget.rb
tickethub-0.3.36 lib/tickethub/supplier/widget.rb