Sha256: f568c0332e90e7b126f8e9a42b49dd12fe316aed7a34c93de0b05db2e192cea8

Contents?: true

Size: 406 Bytes

Versions: 1

Compression:

Stored size: 406 Bytes

Contents

require_relative '../resource'

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

    require_relative 'user'

    collection :user, Supplier::User
    collection :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

1 entries across 1 versions & 1 rubygems

Version Path
tickethub-0.3.70 lib/tickethub/supplier/shift.rb