Parent

Methods

LeoManager::Status::NodeInfo

Node Info

Attributes

joined_at[R]
node[R]
ring_cur[R]
ring_prev[R]
state[R]
type[R]
when[R]

Public Class Methods

new(h) click to toggle source
# File lib/leo_manager_models.rb, line 94
def initialize(h)
  @type  = h[:type]
  @node  = h[:node]
  @when  = Time.parse(h[:when])
  @state = h[:state]
  @ring_cur  = h[:ring_cur]
  @ring_prev = h[:ring_prev]
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.