Sha256: 651c7a654b41ec463dd9a06e76e1c0e92cc5c45bc74b827f4ddf6c52ba369ed4

Contents?: true

Size: 456 Bytes

Versions: 5

Compression:

Stored size: 456 Bytes

Contents

require_relative '../resource'

module Tickethub
  class Reseller::Product < Resource
    path '/reseller/products'

    require_relative '../contact'
    require_relative '../address'

    association :contact, Tickethub::Contact
    association :address, Tickethub::Address

    attribute :time_zone, type: :timezone
    attribute :currency, type: :currency

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tickethub-0.3.35 lib/tickethub/reseller/product.rb
tickethub-0.3.34 lib/tickethub/reseller/product.rb
tickethub-0.3.33 lib/tickethub/reseller/product.rb
tickethub-0.3.32 lib/tickethub/reseller/product.rb
tickethub-0.3.31 lib/tickethub/reseller/product.rb