lib/cloud_crowd/models/node_record.rb
# The JSON representation of a NodeRecord includes its worker_pids.
The JSON representation of a NodeRecord includes its worker_pids.
The JSON representation of a NodeRecord includes its worker_pids .
def to_json(opts={})
      { 'host'    => host,
        'workers' => worker_pids,
        'status'  => display_status
      }.to_json
    end
def to_json ( opts = { } ) { 'host' => host , 'workers' => worker_pids , 'status' => display_status } . to_json end
The JSON representation of a NodeRecord includes its worker_pids.
The JSON representation of a NodeRecord includes its worker_pids .
opts
<not_specific>