Class: GustoEmbedded::Models::Operations::PostV1PayrollDigestsBatch
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Operations::PostV1PayrollDigestsBatch
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/operations/post_v1_payroll_digests_batch.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(entity_type:, uuid:) ⇒ PostV1PayrollDigestsBatch
constructor
A new instance of PostV1PayrollDigestsBatch.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(entity_type:, uuid:) ⇒ PostV1PayrollDigestsBatch
Returns a new instance of PostV1PayrollDigestsBatch.
21 22 23 24 |
# File 'lib/gusto_embedded/models/operations/post_v1_payroll_digests_batch.rb', line 21 def initialize(entity_type:, uuid:) @entity_type = entity_type @uuid = uuid end |
Instance Method Details
#==(other) ⇒ Object
27 28 29 30 31 32 |
# File 'lib/gusto_embedded/models/operations/post_v1_payroll_digests_batch.rb', line 27 def ==(other) return false unless other.is_a? self.class return false unless @entity_type == other.entity_type return false unless @uuid == other.uuid true end |