Sha256: a0531044ee69136af6c79643d9f47804c5ecb95b4ef3a77cea0dd3ce7626a4c5

Contents?: true

Size: 502 Bytes

Versions: 7

Compression:

Stored size: 502 Bytes

Contents

require_relative '../resource'

module Tickethub
  class Supplier::Customer < Resource
    path '/supplier/customers'

    require_relative 'booking'
    require_relative 'ticket'
    require_relative 'message'
    require_relative 'source'

    require_relative '../address'

    collection :orders, Supplier::Booking
    collection :tickets, Supplier::Ticket
    collection :sources, Supplier::Source
    collection :messages, Supplier::Message

    association :address, Tickethub::Address
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
tickethub-0.3.7 lib/tickethub/supplier/customer.rb
tickethub-0.3.6 lib/tickethub/supplier/customer.rb
tickethub-0.3.4 lib/tickethub/supplier/customer.rb
tickethub-0.3.3 lib/tickethub/supplier/customer.rb
tickethub-0.3.2 lib/tickethub/supplier/customer.rb
tickethub-0.3.1 lib/tickethub/supplier/customer.rb
tickethub-0.3.0 lib/tickethub/supplier/customer.rb