Sha256: b974ff275ebf10f5c22cd42fe370742b536b8f1286b2307e40bea6834dc369b1

Contents?: true

Size: 431 Bytes

Versions: 19

Compression:

Stored size: 431 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 :total, type: :money

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

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
tickethub-0.3.67 lib/tickethub/reseller/purchase.rb
tickethub-0.3.66 lib/tickethub/reseller/purchase.rb
tickethub-0.3.65 lib/tickethub/reseller/purchase.rb
tickethub-0.3.64 lib/tickethub/reseller/purchase.rb
tickethub-0.3.63 lib/tickethub/reseller/purchase.rb
tickethub-0.3.62 lib/tickethub/reseller/purchase.rb
tickethub-0.3.61 lib/tickethub/reseller/purchase.rb
tickethub-0.3.60 lib/tickethub/reseller/purchase.rb
tickethub-0.3.59 lib/tickethub/reseller/purchase.rb
tickethub-0.3.58 lib/tickethub/reseller/purchase.rb
tickethub-0.3.57 lib/tickethub/reseller/purchase.rb
tickethub-0.3.56 lib/tickethub/reseller/purchase.rb
tickethub-0.3.55 lib/tickethub/reseller/purchase.rb
tickethub-0.3.54 lib/tickethub/reseller/purchase.rb
tickethub-0.3.53 lib/tickethub/reseller/purchase.rb
tickethub-0.3.52 lib/tickethub/reseller/purchase.rb
tickethub-0.3.51 lib/tickethub/reseller/purchase.rb
tickethub-0.3.50 lib/tickethub/reseller/purchase.rb
tickethub-0.3.49 lib/tickethub/reseller/purchase.rb