Class: PreventGo::BankAccount
- Defined in:
- lib/prevent_go/bank_account.rb
Instance Attribute Summary collapse
-
#params ⇒ Object
Returns the value of attribute params.
-
#request ⇒ Object
Returns the value of attribute request.
Instance Method Summary collapse
Methods inherited from Base
#document_controls, #document_details, #document_type, #holder_controls, #initialize, #quality_validated?
Constructor Details
This class inherits a constructor from PreventGo::Base
Instance Attribute Details
#params ⇒ Object
Returns the value of attribute params.
9 10 11 |
# File 'lib/prevent_go/bank_account.rb', line 9 def params @params end |
#request ⇒ Object
Returns the value of attribute request.
9 10 11 |
# File 'lib/prevent_go/bank_account.rb', line 9 def request @request end |
Instance Method Details
#bic ⇒ Object
11 12 13 |
# File 'lib/prevent_go/bank_account.rb', line 11 def bic @request.dig('documentDetails', 'bicCode') end |
#iban ⇒ Object
15 16 17 |
# File 'lib/prevent_go/bank_account.rb', line 15 def iban @request.dig('documentDetails', 'iban') end |