class RuBittrex::Account
Attributes
id[R]
raw[R]
updated_at[R]
volume[R]
volume_30_days[R]
Public Class Methods
get(params = {})
click to toggle source
# File lib/ru_bittrex/account.rb, line 16 def self.get(params = {}) new _get('account', params) end
new(attrs = {})
click to toggle source
# File lib/ru_bittrex/account.rb, line 9 def initialize(attrs = {}) @id = attrs["accountId"] @updated_at = extract_timestamp(attrs["updated"]) @volume_30_days = attrs["volume30days"] @raw = attrs end
volume(params = {})
click to toggle source
# File lib/ru_bittrex/account.rb, line 20 def self.volume(params = {}) new _get('account/volume', params) end