Sha256: 73619c25b36e2cbe72066b7c5769eaab8dc680eb0508c3157f16df9b6d54ed5e

Contents?: true

Size: 351 Bytes

Versions: 5

Compression:

Stored size: 351 Bytes

Contents

require_relative '../resource'

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

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

    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.5 lib/tickethub/supplier/customer.rb
tickethub-0.0.4 lib/tickethub/supplier/customer.rb
tickethub-0.0.3 lib/tickethub/supplier/customer.rb
tickethub-0.0.2 lib/tickethub/supplier/customer.rb
tickethub-0.0.1 lib/tickethub/supplier/customer.rb