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.35 lib/tickethub/supplier/widget.rb
tickethub-0.3.34 lib/tickethub/supplier/widget.rb
tickethub-0.3.33 lib/tickethub/supplier/widget.rb
tickethub-0.3.32 lib/tickethub/supplier/widget.rb
tickethub-0.3.31 lib/tickethub/supplier/widget.rb
tickethub-0.3.30 lib/tickethub/supplier/widget.rb
tickethub-0.3.29 lib/tickethub/supplier/widget.rb
tickethub-0.3.28 lib/tickethub/supplier/widget.rb
tickethub-0.3.27 lib/tickethub/supplier/widget.rb
tickethub-0.3.26 lib/tickethub/supplier/widget.rb
tickethub-0.3.25 lib/tickethub/supplier/widget.rb
tickethub-0.3.24 lib/tickethub/supplier/widget.rb
tickethub-0.3.23 lib/tickethub/supplier/widget.rb
tickethub-0.3.22 lib/tickethub/supplier/widget.rb
tickethub-0.3.21 lib/tickethub/supplier/widget.rb
tickethub-0.3.20 lib/tickethub/supplier/widget.rb
tickethub-0.3.18 lib/tickethub/supplier/widget.rb
tickethub-0.3.17 lib/tickethub/supplier/widget.rb