class Coinone::Account::AccountInfo::FeeRates::FeeRate
Attributes
maker[R]
taker[R]
Public Class Methods
new(params={})
click to toggle source
# File lib/coinone/account/account_info/fee_rates/fee_rate.rb, line 8 def initialize(params={}) @taker = nil @maker = nil update_info(params) end
Public Instance Methods
update_info(params={})
click to toggle source
# File lib/coinone/account/account_info/fee_rates/fee_rate.rb, line 14 def update_info(params={}) @taker = params[:taker].to_f if params.has_key? :taker @maker = params[:maker].to_f if params.has_key? :maker end