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.79 lib/tickethub/supplier/extra.rb
tickethub-0.3.78 lib/tickethub/supplier/extra.rb
tickethub-0.3.77 lib/tickethub/supplier/extra.rb
tickethub-0.3.76 lib/tickethub/supplier/extra.rb
tickethub-0.3.75 lib/tickethub/supplier/extra.rb
tickethub-0.3.74 lib/tickethub/supplier/extra.rb
tickethub-0.3.73 lib/tickethub/supplier/extra.rb
tickethub-0.3.72 lib/tickethub/supplier/extra.rb
tickethub-0.3.71 lib/tickethub/supplier/extra.rb
tickethub-0.3.70 lib/tickethub/supplier/extra.rb
tickethub-0.3.68 lib/tickethub/supplier/extra.rb
tickethub-0.3.67 lib/tickethub/supplier/extra.rb
tickethub-0.3.66 lib/tickethub/supplier/extra.rb
tickethub-0.3.65 lib/tickethub/supplier/extra.rb
tickethub-0.3.64 lib/tickethub/supplier/extra.rb
tickethub-0.3.63 lib/tickethub/supplier/extra.rb
tickethub-0.3.62 lib/tickethub/supplier/extra.rb
tickethub-0.3.61 lib/tickethub/supplier/extra.rb
tickethub-0.3.60 lib/tickethub/supplier/extra.rb
tickethub-0.3.59 lib/tickethub/supplier/extra.rb