Class: GustoEmbedded::Models::Shared::CompanyBankAccountVerifyRequest
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Shared::CompanyBankAccountVerifyRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/shared/company_bank_account_verify_request.rb
Overview
Request body for verifying a company bank account with the two micro-deposit amounts.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(deposit_1:, deposit_2:) ⇒ CompanyBankAccountVerifyRequest
constructor
A new instance of CompanyBankAccountVerifyRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(deposit_1:, deposit_2:) ⇒ CompanyBankAccountVerifyRequest
Returns a new instance of CompanyBankAccountVerifyRequest.
21 22 23 24 |
# File 'lib/gusto_embedded/models/shared/company_bank_account_verify_request.rb', line 21 def initialize(deposit_1:, deposit_2:) @deposit_1 = deposit_1 @deposit_2 = deposit_2 end |
Instance Method Details
#==(other) ⇒ Object
27 28 29 30 31 32 |
# File 'lib/gusto_embedded/models/shared/company_bank_account_verify_request.rb', line 27 def ==(other) return false unless other.is_a? self.class return false unless @deposit_1 == other.deposit_1 return false unless @deposit_2 == other.deposit_2 true end |