Sha256: 170814d73bb0abf091219aef7257f825ac90004b86f9e6d2a98efa317a859288

Contents?: true

Size: 294 Bytes

Versions: 128

Compression:

Stored size: 294 Bytes

Contents

require_relative '../resource'

module Tickethub
  class Supplier::Fee < Resource
    path '/supplier/fees'

    require_relative 'tax'
    require_relative 'booking'

    association :tax, Supplier::Tax
    association :booking, Supplier::Booking

    attribute :amount, type: :money
  end
end

Version data entries

128 entries across 128 versions & 1 rubygems

Version Path
tickethub-0.0.8 lib/tickethub/supplier/fee.rb
tickethub-0.0.7 lib/tickethub/supplier/fee.rb
tickethub-0.0.6 lib/tickethub/supplier/fee.rb
tickethub-0.0.5 lib/tickethub/supplier/fee.rb
tickethub-0.0.4 lib/tickethub/supplier/fee.rb
tickethub-0.0.3 lib/tickethub/supplier/fee.rb
tickethub-0.0.2 lib/tickethub/supplier/fee.rb
tickethub-0.0.1 lib/tickethub/supplier/fee.rb