Class: GustoEmbedded::Models::Operations::PutV1CompanyFormSignRequestBody

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/gusto_embedded/models/operations/put_v1_company_form_sign_requestbody.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(signature_text:, agree:, signed_by_ip_address: nil) ⇒ PutV1CompanyFormSignRequestBody

Returns a new instance of PutV1CompanyFormSignRequestBody.



23
24
25
26
27
# File 'lib/gusto_embedded/models/operations/put_v1_company_form_sign_requestbody.rb', line 23

def initialize(signature_text:, agree:, signed_by_ip_address: nil)
  @signature_text = signature_text
  @agree = agree
  @signed_by_ip_address = signed_by_ip_address
end

Instance Method Details

#==(other) ⇒ Object



30
31
32
33
34
35
36
# File 'lib/gusto_embedded/models/operations/put_v1_company_form_sign_requestbody.rb', line 30

def ==(other)
  return false unless other.is_a? self.class
  return false unless @signature_text == other.signature_text
  return false unless @agree == other.agree
  return false unless @signed_by_ip_address == other.signed_by_ip_address
  true
end