class Blockchain::SimpleBlock
Attributes
hash[R]
height[R]
main_chain[R]
time[R]
Public Class Methods
new(b)
click to toggle source
# File lib/blockchain/blockexplorer.rb, line 175 def initialize(b) @height = b['height'] @hash = b['hash'] @time = b['time'] @main_chain = b['main_chain'] end