Sha256: acec2484369c670e0eb439c27c0a101a3a3b9cb2700bbec1a6be2fc893b9cb9b

Contents?: true

Size: 435 Bytes

Versions: 5

Compression:

Stored size: 435 Bytes

Contents

require_relative '../resource'

module Tickethub
  class Reseller::Tier < Resource
    path '/reseller/tiers'

    require_relative 'product'

    association :product, Reseller::Product

    attribute :price, type: :money
    attribute :currency, type: :currency

    attribute :notice, type: :duration
    attribute :period, type: :duration

    attribute :interval, type: :duration
    attribute :duration, type: :duration
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tickethub-0.3.40 lib/tickethub/reseller/tier.rb
tickethub-0.3.39 lib/tickethub/reseller/tier.rb
tickethub-0.3.38 lib/tickethub/reseller/tier.rb
tickethub-0.3.37 lib/tickethub/reseller/tier.rb
tickethub-0.3.36 lib/tickethub/reseller/tier.rb