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



15
16
17
# File 'lib/steem_api/models/account.rb', line 15

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

#witness?Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/steem_api/models/account.rb', line 11

def witness?
  self.witness_votes != "[]"
end