Sha256: 1b1a11cc658da7356398acc1dfaa8aa38df9984eab9d50302333e2f79f62cbe6

Contents?: true

Size: 408 Bytes

Versions: 8

Compression:

Stored size: 408 Bytes

Contents

require_relative '../resource'

module Tickethub
  class Supplier::Shift < Resource
    path '/supplier/shifts'

    require_relative 'user'

    association :user, Supplier::User
    association :approved_by, Supplier::User

    attribute :closed_at, type: :datetime
    attribute :approved_at, type: :datetime
    attribute :updated_at, type: :datetime
    attribute :created_at, type: :datetime 
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
tickethub-0.3.78 lib/tickethub/supplier/shift.rb
tickethub-0.3.77 lib/tickethub/supplier/shift.rb
tickethub-0.3.76 lib/tickethub/supplier/shift.rb
tickethub-0.3.75 lib/tickethub/supplier/shift.rb
tickethub-0.3.74 lib/tickethub/supplier/shift.rb
tickethub-0.3.73 lib/tickethub/supplier/shift.rb
tickethub-0.3.72 lib/tickethub/supplier/shift.rb
tickethub-0.3.71 lib/tickethub/supplier/shift.rb