Class: Unit::Statement::GetBankVerificationPdf
- Inherits:
-
Object
- Object
- Unit::Statement::GetBankVerificationPdf
- Defined in:
- lib/unit/models/statement/get_bank_verification_pdf.rb
Instance Attribute Summary collapse
-
#account_id ⇒ Object
Returns the value of attribute account_id.
-
#include_proof_of_funds ⇒ Object
Returns the value of attribute include_proof_of_funds.
Instance Method Summary collapse
-
#initialize(account_id, include_proof_of_funds: false) ⇒ GetBankVerificationPdf
constructor
A new instance of GetBankVerificationPdf.
- #to_hash ⇒ Object
Constructor Details
#initialize(account_id, include_proof_of_funds: false) ⇒ GetBankVerificationPdf
Returns a new instance of GetBankVerificationPdf.
12 13 14 15 |
# File 'lib/unit/models/statement/get_bank_verification_pdf.rb', line 12 def initialize(account_id, include_proof_of_funds: false) @account_id = account_id @include_proof_of_funds = include_proof_of_funds end |
Instance Attribute Details
#account_id ⇒ Object
Returns the value of attribute account_id.
8 9 10 |
# File 'lib/unit/models/statement/get_bank_verification_pdf.rb', line 8 def account_id @account_id end |
#include_proof_of_funds ⇒ Object
Returns the value of attribute include_proof_of_funds.
8 9 10 |
# File 'lib/unit/models/statement/get_bank_verification_pdf.rb', line 8 def include_proof_of_funds @include_proof_of_funds end |
Instance Method Details
#to_hash ⇒ Object
17 18 19 20 |
# File 'lib/unit/models/statement/get_bank_verification_pdf.rb', line 17 def to_hash params = { "includeProofOfFunds": include_proof_of_funds } params.compact end |