Class: GustoEmbedded::Shared::PayPeriod
- Inherits:
-
Crystalline::FieldAugmented
- Object
- Crystalline::FieldAugmented
- GustoEmbedded::Shared::PayPeriod
- Extended by:
- T::Sig
- Defined in:
- lib/gusto_embedded/models/shared/pay_period.rb
Overview
The representation of a pay period.
Instance Method Summary collapse
-
#initialize(end_date: nil, pay_schedule_uuid: nil, payroll: nil, start_date: nil) ⇒ PayPeriod
constructor
A new instance of PayPeriod.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(end_date: nil, pay_schedule_uuid: nil, payroll: nil, start_date: nil) ⇒ PayPeriod
Returns a new instance of PayPeriod.
25 26 27 28 29 30 |
# File 'lib/gusto_embedded/models/shared/pay_period.rb', line 25 def initialize(end_date: nil, pay_schedule_uuid: nil, payroll: nil, start_date: nil) @end_date = end_date @pay_schedule_uuid = pay_schedule_uuid @payroll = payroll @start_date = start_date end |