Sha256: b396fd3b4dbe5359db7f27d2c869590e1222d41152649d067492bf1811dd2ccf

Contents?: true

Size: 346 Bytes

Versions: 31

Compression:

Stored size: 346 Bytes

Contents

require_relative '../resource'

module Tickethub
  class Reseller::Tax < Resource
    path '/reseller/taxes'

    require_relative 'fee'
    require_relative 'product'

    association :product, Reseller::Product
    collection :fees, Reseller::Fee

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

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
tickethub-0.3.46 lib/tickethub/reseller/tax.rb
tickethub-0.3.45 lib/tickethub/reseller/tax.rb
tickethub-0.3.44 lib/tickethub/reseller/tax.rb
tickethub-0.3.43 lib/tickethub/reseller/tax.rb
tickethub-0.3.42 lib/tickethub/reseller/tax.rb
tickethub-0.3.41 lib/tickethub/reseller/tax.rb
tickethub-0.3.40 lib/tickethub/reseller/tax.rb
tickethub-0.3.39 lib/tickethub/reseller/tax.rb
tickethub-0.3.38 lib/tickethub/reseller/tax.rb
tickethub-0.3.37 lib/tickethub/reseller/tax.rb
tickethub-0.3.36 lib/tickethub/reseller/tax.rb