Class: SteemApi::Account

Inherits:
SqlBase
  • Object
show all
Defined in:
lib/steem_api/models/account.rb

Instance Method Summary collapse

Methods inherited from SqlBase

#tx

Instance Method Details

#proxied_vsf_votes_totalObject



26
27
28
# File 'lib/steem_api/models/account.rb', line 26

def proxied_vsf_votes_total
  JSON[proxied_vsf_votes].map(&:to_i).sum
end

#witness?Boolean

Returns:

  • (Boolean)


22
23
24
# File 'lib/steem_api/models/account.rb', line 22

def witness?
  !!witness
end