Class: Coinone::Account::AccountInfo::FeeRates
- Inherits:
-
Object
- Object
- Coinone::Account::AccountInfo::FeeRates
- Defined in:
- lib/coinone/account/account_info/fee_rates.rb,
lib/coinone/account/account_info/fee_rates/fee_rate.rb
Defined Under Namespace
Classes: FeeRate
Instance Attribute Summary collapse
-
#btc ⇒ Object
readonly
Returns the value of attribute btc.
-
#etc ⇒ Object
readonly
Returns the value of attribute etc.
-
#eth ⇒ Object
readonly
Returns the value of attribute eth.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ FeeRates
constructor
A new instance of FeeRates.
- #update_info(params = {}) ⇒ Object
Constructor Details
Instance Attribute Details
#btc ⇒ Object (readonly)
Returns the value of attribute btc.
7 8 9 |
# File 'lib/coinone/account/account_info/fee_rates.rb', line 7 def btc @btc end |
#etc ⇒ Object (readonly)
Returns the value of attribute etc.
7 8 9 |
# File 'lib/coinone/account/account_info/fee_rates.rb', line 7 def etc @etc end |
#eth ⇒ Object (readonly)
Returns the value of attribute eth.
7 8 9 |
# File 'lib/coinone/account/account_info/fee_rates.rb', line 7 def eth @eth end |
Instance Method Details
#update_info(params = {}) ⇒ Object
16 17 18 19 20 |
# File 'lib/coinone/account/account_info/fee_rates.rb', line 16 def update_info(params={}) @btc.update_info(params[:btc]) if params.has_key? :btc @eth.update_info(params[:eth]) if params.has_key? :eth @etc.update_info(params[:etc]) if params.has_key? :etc end |