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.3.100 lib/tickethub/supplier/fee.rb
tickethub-0.3.99 lib/tickethub/supplier/fee.rb
tickethub-0.3.98 lib/tickethub/supplier/fee.rb
tickethub-0.3.97 lib/tickethub/supplier/fee.rb
tickethub-0.3.96 lib/tickethub/supplier/fee.rb
tickethub-0.3.95 lib/tickethub/supplier/fee.rb
tickethub-0.3.94 lib/tickethub/supplier/fee.rb
tickethub-0.3.93 lib/tickethub/supplier/fee.rb
tickethub-0.3.92 lib/tickethub/supplier/fee.rb
tickethub-0.3.91 lib/tickethub/supplier/fee.rb
tickethub-0.3.90 lib/tickethub/supplier/fee.rb
tickethub-0.3.89 lib/tickethub/supplier/fee.rb
tickethub-0.3.88 lib/tickethub/supplier/fee.rb
tickethub-0.3.87 lib/tickethub/supplier/fee.rb
tickethub-0.3.86 lib/tickethub/supplier/fee.rb
tickethub-0.3.85 lib/tickethub/supplier/fee.rb
tickethub-0.3.84 lib/tickethub/supplier/fee.rb
tickethub-0.3.82 lib/tickethub/supplier/fee.rb
tickethub-0.3.81 lib/tickethub/supplier/fee.rb
tickethub-0.3.80 lib/tickethub/supplier/fee.rb