Sha256: 7b360a692752af667d27d26ee947d8d842a3c5f93d9a4d94a85fe8e36736a9a4

Contents?: true

Size: 396 Bytes

Versions: 10

Compression:

Stored size: 396 Bytes

Contents

require_relative '../resource'

module Tickethub
  class Reseller::Purchase < Resource
    path '/reseller/purchases'

    require_relative 'booking'
    require_relative 'extra'

    association :booking, Reseller::Booking
    association :extra, Reseller::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/reseller/purchase.rb
tickethub-0.3.46 lib/tickethub/reseller/purchase.rb
tickethub-0.3.45 lib/tickethub/reseller/purchase.rb
tickethub-0.3.44 lib/tickethub/reseller/purchase.rb
tickethub-0.3.43 lib/tickethub/reseller/purchase.rb
tickethub-0.3.42 lib/tickethub/reseller/purchase.rb
tickethub-0.3.41 lib/tickethub/reseller/purchase.rb
tickethub-0.3.40 lib/tickethub/reseller/purchase.rb
tickethub-0.3.39 lib/tickethub/reseller/purchase.rb
tickethub-0.3.38 lib/tickethub/reseller/purchase.rb