Sha256: 9b2fa4f60d8825f276f496d195d0213398a61e95a55455e66566dfa15800813b

Contents?: true

Size: 382 Bytes

Versions: 89

Compression:

Stored size: 382 Bytes

Contents

require_relative '../resource'

module Tickethub
  class Supplier::Scan < Resource
    path '/supplier/scans'

    require_relative 'ticket'
    require_relative 'user'

    collection :tickets, Supplier::Ticket
    association :user, Supplier::User

    attribute :at, type: :datetime
    attribute :updated_at, type: :datetime
    attribute :created_at, type: :datetime 
  end
end

Version data entries

89 entries across 89 versions & 1 rubygems

Version Path
tickethub-0.3.100 lib/tickethub/supplier/scan.rb
tickethub-0.3.99 lib/tickethub/supplier/scan.rb
tickethub-0.3.98 lib/tickethub/supplier/scan.rb
tickethub-0.3.97 lib/tickethub/supplier/scan.rb
tickethub-0.3.96 lib/tickethub/supplier/scan.rb
tickethub-0.3.95 lib/tickethub/supplier/scan.rb
tickethub-0.3.94 lib/tickethub/supplier/scan.rb
tickethub-0.3.93 lib/tickethub/supplier/scan.rb
tickethub-0.3.92 lib/tickethub/supplier/scan.rb
tickethub-0.3.91 lib/tickethub/supplier/scan.rb
tickethub-0.3.90 lib/tickethub/supplier/scan.rb
tickethub-0.3.89 lib/tickethub/supplier/scan.rb
tickethub-0.3.88 lib/tickethub/supplier/scan.rb
tickethub-0.3.87 lib/tickethub/supplier/scan.rb
tickethub-0.3.86 lib/tickethub/supplier/scan.rb
tickethub-0.3.85 lib/tickethub/supplier/scan.rb
tickethub-0.3.84 lib/tickethub/supplier/scan.rb
tickethub-0.3.82 lib/tickethub/supplier/scan.rb
tickethub-0.3.81 lib/tickethub/supplier/scan.rb
tickethub-0.3.80 lib/tickethub/supplier/scan.rb