Sha256: 68e84a32e45b12565de1b824c23e980f0dad4f70e0b0e4cf86bb3602547e3593

Contents?: true

Size: 356 Bytes

Versions: 20

Compression:

Stored size: 356 Bytes

Contents

require_relative '../resource'

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

    require_relative 'booking'

    association :booking, Supplier::Booking

    attribute :price, type: :money
    attribute :total, type: :money

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

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
tickethub-0.3.15 lib/tickethub/supplier/extra.rb
tickethub-0.3.14 lib/tickethub/supplier/extra.rb
tickethub-0.3.13 lib/tickethub/supplier/extra.rb
tickethub-0.3.12 lib/tickethub/supplier/extra.rb
tickethub-0.3.11 lib/tickethub/supplier/extra.rb
tickethub-0.3.9 lib/tickethub/supplier/extra.rb
tickethub-0.3.7 lib/tickethub/supplier/extra.rb
tickethub-0.3.6 lib/tickethub/supplier/extra.rb
tickethub-0.3.4 lib/tickethub/supplier/extra.rb
tickethub-0.3.3 lib/tickethub/supplier/extra.rb
tickethub-0.3.2 lib/tickethub/supplier/extra.rb
tickethub-0.3.1 lib/tickethub/supplier/extra.rb
tickethub-0.3.0 lib/tickethub/supplier/extra.rb
tickethub-0.2.18 lib/tickethub/supplier/extra.rb
tickethub-0.2.17 lib/tickethub/supplier/extra.rb
tickethub-0.2.15 lib/tickethub/supplier/extra.rb
tickethub-0.2.14 lib/tickethub/supplier/extra.rb
tickethub-0.2.13 lib/tickethub/supplier/extra.rb
tickethub-0.2.12 lib/tickethub/supplier/extra.rb
tickethub-0.2.11 lib/tickethub/supplier/extra.rb