Class: Yao::Resources::NetworkingAgents
- Defined in:
- lib/yao/resources/networking_agents.rb
Instance Attribute Summary
Attributes included from RestfullyAccessible
Instance Method Summary collapse
Methods inherited from Base
#[], #[]=, #created, friendly_attributes, #id, #initialize, map_attribute_to_attribute, map_attribute_to_resource, map_attribute_to_resources, #to_hash, #updated
Methods included from RestfullyAccessible
#admin=, #api_version, #api_version=, #as_member, #client, #create, #destroy, extended, #find_by_name, #get, #get!, #list, #resources_path, #resources_path=, #return_single_on_querying, #return_single_on_querying=, #update
Constructor Details
This class inherits a constructor from Yao::Resources::Base
Instance Method Details
#created_at ⇒ Date
14 15 16 |
# File 'lib/yao/resources/networking_agents.rb', line 14 def created_at Time.parse(self["created_at"]) end |
#heartbeat_timestamp ⇒ Date
24 25 26 |
# File 'lib/yao/resources/networking_agents.rb', line 24 def Time.parse(self["heartbeat_timestamp"]) end |
#started_at ⇒ Date
19 20 21 |
# File 'lib/yao/resources/networking_agents.rb', line 19 def started_at Time.parse(self["started_at"]) end |