Class: Aceitafacil::Bank
- Inherits:
-
Object
- Object
- Aceitafacil::Bank
- Includes:
- ActiveModel::Validations
- Defined in:
- lib/aceitafacil/bank.rb
Instance Attribute Summary collapse
-
#account_holder_document_number ⇒ Object
Returns the value of attribute account_holder_document_number.
-
#account_holder_document_type ⇒ Object
Returns the value of attribute account_holder_document_type.
-
#account_holder_name ⇒ Object
Returns the value of attribute account_holder_name.
-
#account_number ⇒ Object
Returns the value of attribute account_number.
-
#account_type ⇒ Object
Returns the value of attribute account_type.
-
#agency ⇒ Object
Returns the value of attribute agency.
-
#code ⇒ Object
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ Bank
constructor
A new instance of Bank.
Constructor Details
#initialize(params = {}) ⇒ Bank
Returns a new instance of Bank.
13 14 15 16 17 18 19 20 21 |
# File 'lib/aceitafacil/bank.rb', line 13 def initialize(params = {}) self.code = params[:code] self.agency = params[:agency] self.account_type = params[:account_type] self.account_number = params[:account_number] self.account_holder_name = params[:account_holder_name] self.account_holder_document_type = params[:account_holder_document_type] self.account_holder_document_number = params[:account_holder_document_number] end |
Instance Attribute Details
#account_holder_document_number ⇒ Object
Returns the value of attribute account_holder_document_number.
11 12 13 |
# File 'lib/aceitafacil/bank.rb', line 11 def account_holder_document_number @account_holder_document_number end |
#account_holder_document_type ⇒ Object
Returns the value of attribute account_holder_document_type.
11 12 13 |
# File 'lib/aceitafacil/bank.rb', line 11 def account_holder_document_type @account_holder_document_type end |
#account_holder_name ⇒ Object
Returns the value of attribute account_holder_name.
10 11 12 |
# File 'lib/aceitafacil/bank.rb', line 10 def account_holder_name @account_holder_name end |
#account_number ⇒ Object
Returns the value of attribute account_number.
10 11 12 |
# File 'lib/aceitafacil/bank.rb', line 10 def account_number @account_number end |
#account_type ⇒ Object
Returns the value of attribute account_type.
10 11 12 |
# File 'lib/aceitafacil/bank.rb', line 10 def account_type @account_type end |
#agency ⇒ Object
Returns the value of attribute agency.
10 11 12 |
# File 'lib/aceitafacil/bank.rb', line 10 def agency @agency end |
#code ⇒ Object
Returns the value of attribute code.
10 11 12 |
# File 'lib/aceitafacil/bank.rb', line 10 def code @code end |