Class: BnmAPI::Data::BankBaseRate
- Inherits:
-
Struct
- Object
- Struct
- BnmAPI::Data::BankBaseRate
- Defined in:
- lib/bnmapi/data/bank_base_rate.rb
Overview
not sure what is the difference between landing rate and financing rate the API response some returns landing rate and some returns financing rate including both in the data.
Instance Attribute Summary collapse
-
#bank_code ⇒ Object
Returns the value of attribute bank_code.
-
#bank_name ⇒ Object
Returns the value of attribute bank_name.
-
#base_financing_rate ⇒ Object
Returns the value of attribute base_financing_rate.
-
#base_lending_rate ⇒ Object
Returns the value of attribute base_lending_rate.
-
#base_rate ⇒ Object
Returns the value of attribute base_rate.
-
#effective_date_data ⇒ Object
Returns the value of attribute effective_date_data.
-
#indicative_eff_lending_rate ⇒ Object
Returns the value of attribute indicative_eff_lending_rate.
-
#last_updated_data ⇒ Object
Returns the value of attribute last_updated_data.
Instance Method Summary collapse
Instance Attribute Details
#bank_code ⇒ Object
Returns the value of attribute bank_code
5 6 7 |
# File 'lib/bnmapi/data/bank_base_rate.rb', line 5 def bank_code @bank_code end |
#bank_name ⇒ Object
Returns the value of attribute bank_name
5 6 7 |
# File 'lib/bnmapi/data/bank_base_rate.rb', line 5 def bank_name @bank_name end |
#base_financing_rate ⇒ Object
Returns the value of attribute base_financing_rate
5 6 7 |
# File 'lib/bnmapi/data/bank_base_rate.rb', line 5 def base_financing_rate @base_financing_rate end |
#base_lending_rate ⇒ Object
Returns the value of attribute base_lending_rate
5 6 7 |
# File 'lib/bnmapi/data/bank_base_rate.rb', line 5 def base_lending_rate @base_lending_rate end |
#base_rate ⇒ Object
Returns the value of attribute base_rate
5 6 7 |
# File 'lib/bnmapi/data/bank_base_rate.rb', line 5 def base_rate @base_rate end |
#effective_date_data ⇒ Object
Returns the value of attribute effective_date_data
5 6 7 |
# File 'lib/bnmapi/data/bank_base_rate.rb', line 5 def effective_date_data @effective_date_data end |
#indicative_eff_lending_rate ⇒ Object
Returns the value of attribute indicative_eff_lending_rate
5 6 7 |
# File 'lib/bnmapi/data/bank_base_rate.rb', line 5 def indicative_eff_lending_rate @indicative_eff_lending_rate end |
#last_updated_data ⇒ Object
Returns the value of attribute last_updated_data
5 6 7 |
# File 'lib/bnmapi/data/bank_base_rate.rb', line 5 def last_updated_data @last_updated_data end |
Instance Method Details
#effective_date ⇒ Object
20 21 22 |
# File 'lib/bnmapi/data/bank_base_rate.rb', line 20 def effective_date Date.parse(effective_date_data) end |
#last_updated ⇒ Object
16 17 18 |
# File 'lib/bnmapi/data/bank_base_rate.rb', line 16 def last_updated DateTime.parse(last_updated_data) end |