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