class CoinSync::Importers::ArkVoting::HistoryEntry
Attributes
amount[RW]
timestamp[RW]
Public Class Methods
new(hash)
click to toggle source
# File lib/coinsync/importers/ark_voting.rb, line 25 def initialize(hash) @timestamp = EPOCH_TIME + hash['timestamp'] @amount = BigDecimal.new(hash['amount']) / 100_000_000 end