Sha256: 9353a8457f05835b7eec8a83eac38788958da0e2e6dcd6fb9a784795d27c7117

Contents?: true

Size: 321 Bytes

Versions: 81

Compression:

Stored size: 321 Bytes

Contents

require_relative '../resource'

module Tickethub
  class Supplier::Extra < Resource
    path '/supplier/extras'

    require_relative 'product'

    association :product, Supplier::Product

    attribute :price, type: :money

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

Version data entries

81 entries across 81 versions & 1 rubygems

Version Path
tickethub-0.3.37 lib/tickethub/supplier/extra.rb
tickethub-0.3.36 lib/tickethub/supplier/extra.rb
tickethub-0.3.35 lib/tickethub/supplier/extra.rb
tickethub-0.3.34 lib/tickethub/supplier/extra.rb
tickethub-0.3.33 lib/tickethub/supplier/extra.rb
tickethub-0.3.32 lib/tickethub/supplier/extra.rb
tickethub-0.3.31 lib/tickethub/supplier/extra.rb
tickethub-0.3.30 lib/tickethub/supplier/extra.rb
tickethub-0.3.29 lib/tickethub/supplier/extra.rb
tickethub-0.3.28 lib/tickethub/supplier/extra.rb
tickethub-0.3.27 lib/tickethub/supplier/extra.rb
tickethub-0.3.26 lib/tickethub/supplier/extra.rb
tickethub-0.3.25 lib/tickethub/supplier/extra.rb
tickethub-0.3.24 lib/tickethub/supplier/extra.rb
tickethub-0.3.23 lib/tickethub/supplier/extra.rb
tickethub-0.3.22 lib/tickethub/supplier/extra.rb
tickethub-0.3.21 lib/tickethub/supplier/extra.rb
tickethub-0.3.20 lib/tickethub/supplier/extra.rb
tickethub-0.3.18 lib/tickethub/supplier/extra.rb
tickethub-0.3.17 lib/tickethub/supplier/extra.rb