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