Exception: GustoEmbedded::Models::Errors::PayrollBlockersError
- Inherits:
-
StandardError
- Object
- StandardError
- GustoEmbedded::Models::Errors::PayrollBlockersError
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/errors/payroll_blockers_error.rb
Overview
Payroll Blockers Error
For detailed information, see the [Payroll Blockers guide](docs.gusto.com/embedded-payroll/docs/payroll-blockers)
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(errors: nil) ⇒ PayrollBlockersError
constructor
A new instance of PayrollBlockersError.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(errors: nil) ⇒ PayrollBlockersError
Returns a new instance of PayrollBlockersError.
21 22 23 |
# File 'lib/gusto_embedded/models/errors/payroll_blockers_error.rb', line 21 def initialize(errors: nil) @errors = errors end |
Instance Method Details
#==(other) ⇒ Object
26 27 28 29 30 |
# File 'lib/gusto_embedded/models/errors/payroll_blockers_error.rb', line 26 def ==(other) return false unless other.is_a? self.class return false unless @errors == other.errors true end |