Class: GustoEmbedded::Shared::Department
- Inherits:
-
Crystalline::FieldAugmented
- Object
- Crystalline::FieldAugmented
- GustoEmbedded::Shared::Department
- Extended by:
- T::Sig
- Defined in:
- lib/gusto_embedded/models/shared/department.rb
Instance Method Summary collapse
-
#initialize(company_uuid: nil, contractors: nil, employees: nil, title: nil, uuid: nil, version: nil) ⇒ Department
constructor
A new instance of Department.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(company_uuid: nil, contractors: nil, employees: nil, title: nil, uuid: nil, version: nil) ⇒ Department
Returns a new instance of Department.
29 30 31 32 33 34 35 36 |
# File 'lib/gusto_embedded/models/shared/department.rb', line 29 def initialize(company_uuid: nil, contractors: nil, employees: nil, title: nil, uuid: nil, version: nil) @company_uuid = company_uuid @contractors = contractors @employees = employees @title = title @uuid = uuid @version = version end |