Sha256: 7f23755902f4f38eecab884321aca466290932a0380901a5cdbf2131fdf4bfac

Contents?: true

Size: 396 Bytes

Versions: 10

Compression:

Stored size: 396 Bytes

Contents

require_relative '../resource'

module Tickethub
  class Supplier::Purchase < Resource
    path '/supplier/purchases'

    require_relative 'booking'
    require_relative 'extra'

    association :booking, Supplier::Booking
    association :extra, Supplier::Extra

    attribute :price, type: :money

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
tickethub-0.3.47 lib/tickethub/supplier/purchase.rb
tickethub-0.3.46 lib/tickethub/supplier/purchase.rb
tickethub-0.3.45 lib/tickethub/supplier/purchase.rb
tickethub-0.3.44 lib/tickethub/supplier/purchase.rb
tickethub-0.3.43 lib/tickethub/supplier/purchase.rb
tickethub-0.3.42 lib/tickethub/supplier/purchase.rb
tickethub-0.3.41 lib/tickethub/supplier/purchase.rb
tickethub-0.3.40 lib/tickethub/supplier/purchase.rb
tickethub-0.3.39 lib/tickethub/supplier/purchase.rb
tickethub-0.3.38 lib/tickethub/supplier/purchase.rb