Class: GustoEmbedded::Models::Shared::EinVerification

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

Overview

Information about the status of verifying the company’s Employer Identification Number (EIN)

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(status: nil) ⇒ EinVerification

Returns a new instance of EinVerification.



22
23
24
# File 'lib/gusto_embedded/models/shared/ein_verification.rb', line 22

def initialize(status: nil)
  @status = status
end

Instance Method Details

#==(other) ⇒ Object



27
28
29
30
31
# File 'lib/gusto_embedded/models/shared/ein_verification.rb', line 27

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