class Nem::Model::Connection
Attributes
elapsed_time[R]
host[R]
id[R]
path[R]
start_time[R]
Public Class Methods
new_from_connection(hash)
click to toggle source
# File lib/nem/model/connection.rb, line 12 def self.new_from_connection(hash) new( path: hash[:path], start_time: hash[:"start-time"], host: hash[:host], elapsed_time: hash[:"elapsed-time"], id: hash[:id] ) end