Sha256: 374a34c189520b3370c4cc5a6fa03d2c5b55b726d108eb3d437d65e23dbcce97

Contents?: true

Size: 350 Bytes

Versions: 3

Compression:

Stored size: 350 Bytes

Contents

require_relative '../resource'

module Tickethub
  class Supplier::Rate < Resource
    path '/supplier/rates'

    require_relative 'product'
    require_relative 'reseller'
    require_relative 'voucher'

    collection :resellers, Supplier::Reseller
    collection :vouchers, Supplier::Voucher

    association :product, Supplier::Product
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tickethub-0.0.3 lib/tickethub/supplier/rate.rb
tickethub-0.0.2 lib/tickethub/supplier/rate.rb
tickethub-0.0.1 lib/tickethub/supplier/rate.rb