Class: GustoEmbedded::Models::Shared::PayrollDigestResultsPayPeriod
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Shared::PayrollDigestResultsPayPeriod
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/shared/payroll_digest_results_pay_period.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(start_date: nil, end_date: nil, check_date: nil, run_payroll_by: nil) ⇒ PayrollDigestResultsPayPeriod
constructor
A new instance of PayrollDigestResultsPayPeriod.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(start_date: nil, end_date: nil, check_date: nil, run_payroll_by: nil) ⇒ PayrollDigestResultsPayPeriod
Returns a new instance of PayrollDigestResultsPayPeriod.
25 26 27 28 29 30 |
# File 'lib/gusto_embedded/models/shared/payroll_digest_results_pay_period.rb', line 25 def initialize(start_date: nil, end_date: nil, check_date: nil, run_payroll_by: nil) @start_date = start_date @end_date = end_date @check_date = check_date @run_payroll_by = run_payroll_by end |
Instance Method Details
#==(other) ⇒ Object
33 34 35 36 37 38 39 40 |
# File 'lib/gusto_embedded/models/shared/payroll_digest_results_pay_period.rb', line 33 def ==(other) return false unless other.is_a? self.class return false unless @start_date == other.start_date return false unless @end_date == other.end_date return false unless @check_date == other.check_date return false unless @run_payroll_by == other.run_payroll_by true end |