Class: GustoEmbedded::Operations::PayPeriods

Inherits:
Crystalline::FieldAugmented show all
Extended by:
T::Sig
Defined in:
lib/gusto_embedded/models/operations/pay_periods.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(check_date: nil, end_date: nil, run_payroll_by: nil, start_date: nil) ⇒ PayPeriods

Returns a new instance of PayPeriods.



25
26
27
28
29
30
# File 'lib/gusto_embedded/models/operations/pay_periods.rb', line 25

def initialize(check_date: nil, end_date: nil, run_payroll_by: nil, start_date: nil)
  @check_date = check_date
  @end_date = end_date
  @run_payroll_by = run_payroll_by
  @start_date = start_date
end