Sha256: 2d9eb6500f6e468f57526f3c8bf6ce925ea2a73bb9b79434b97e9645e9771d0e

Contents?: true

Size: 417 Bytes

Versions: 5

Compression:

Stored size: 417 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 'card'

    collection :cards, Supplier::Card
    collection :bookings, Supplier::Booking
    collection :tickets, Supplier::Ticket
    collection :messages, Supplier::Message
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tickethub-0.0.10 lib/tickethub/supplier/customer.rb
tickethub-0.0.9 lib/tickethub/supplier/customer.rb
tickethub-0.0.8 lib/tickethub/supplier/customer.rb
tickethub-0.0.7 lib/tickethub/supplier/customer.rb
tickethub-0.0.6 lib/tickethub/supplier/customer.rb