class Nem::Model::Harvest

Attributes

difficulty[R]
height[R]
id[R]
timestamp[R]
total_fee[R]

Public Class Methods

new_from_harvest(hash) click to toggle source
# File lib/nem/model/harvest.rb, line 12
def self.new_from_harvest(hash)
  new(
    timestamp: hash[:timeStamp],
    difficulty: hash[:difficulty],
    total_fee: hash[:totalFee],
    id: hash[:id],
    height: hash[:height]
  )
end