Sha256: c7ec52370339485f9c935e29146e36a8d1a3315e1a960b371e7ddb43db387c67

Contents?: true

Size: 314 Bytes

Versions: 36

Compression:

Stored size: 314 Bytes

Contents

require_relative '../resource'

module Tickethub
  class Supplier::Charge < Resource
    path '/supplier/charges'

    require_relative 'charge/gateway'
    require_relative 'charge/service'

    attribute :amount, type: :money
    attribute :vat, type: :money

    attribute :created_at, type: :datetime
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
tickethub-0.3.21 lib/tickethub/supplier/charge.rb
tickethub-0.3.20 lib/tickethub/supplier/charge.rb
tickethub-0.3.18 lib/tickethub/supplier/charge.rb
tickethub-0.3.17 lib/tickethub/supplier/charge.rb
tickethub-0.3.16 lib/tickethub/supplier/charge.rb
tickethub-0.3.15 lib/tickethub/supplier/charge.rb
tickethub-0.3.14 lib/tickethub/supplier/charge.rb
tickethub-0.3.13 lib/tickethub/supplier/charge.rb
tickethub-0.3.12 lib/tickethub/supplier/charge.rb
tickethub-0.3.11 lib/tickethub/supplier/charge.rb
tickethub-0.3.9 lib/tickethub/supplier/charge.rb
tickethub-0.3.7 lib/tickethub/supplier/charge.rb
tickethub-0.3.6 lib/tickethub/supplier/charge.rb
tickethub-0.3.4 lib/tickethub/supplier/charge.rb
tickethub-0.3.3 lib/tickethub/supplier/charge.rb
tickethub-0.3.2 lib/tickethub/supplier/charge.rb
tickethub-0.3.1 lib/tickethub/supplier/charge.rb
tickethub-0.3.0 lib/tickethub/supplier/charge.rb
tickethub-0.2.14 lib/tickethub/supplier/charge.rb
tickethub-0.2.13 lib/tickethub/supplier/charge.rb