Sha256: ed2580cf02e376369e32fdfb612ecc623f88c8c4bc1b3092a83b0a021a336692

Contents?: true

Size: 425 Bytes

Versions: 7

Compression:

Stored size: 425 Bytes

Contents

require_relative '../resource'

module Tickethub
  class Supplier::Tax < Resource
    path '/supplier/taxes'

    require_relative 'fee'
    require_relative 'product'
    require_relative 'reseller'

    association :product, Supplier::Product

    collection :fees, Supplier::Fee
    collection :resellers, Supplier::Reseller

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
tickethub-0.3.100 lib/tickethub/supplier/tax.rb
tickethub-0.3.99 lib/tickethub/supplier/tax.rb
tickethub-0.3.98 lib/tickethub/supplier/tax.rb
tickethub-0.3.97 lib/tickethub/supplier/tax.rb
tickethub-0.3.96 lib/tickethub/supplier/tax.rb
tickethub-0.3.95 lib/tickethub/supplier/tax.rb
tickethub-0.3.94 lib/tickethub/supplier/tax.rb