Sha256: dab13969924257e3cf3951249c82ed6306aca58d81f5ffdc405c6a0c3b6d519f
Contents?: true
Size: 800 Bytes
Versions: 2
Compression:
Stored size: 800 Bytes
Contents
module Yao::Resources class NetworkingAgents < Base friendly_attributes :admin_state_up, :agent_type, :alive, :availability_zone, :binary, :configurations, :description, :heartbeat_timestamp, :host, :resources_synced, :topic self.service = "network" self.resource_name = "agents" self.resources_name = "agents" # @return [Date] def created_at Time.parse(self["created_at"]) end # @return [Date] def started_at Time.parse(self["started_at"]) end # @return [Date] def heartbeat_timestamp Time.parse(self["heartbeat_timestamp"]) end # @return [] def delete self.class.delete(id) end alias :state :admin_state_up end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
yao-0.21.0 | lib/yao/resources/networking_agents.rb |
yao-0.20.0 | lib/yao/resources/networking_agents.rb |