Class: Cloudscale::Constants::Agent
- Inherits:
-
Object
- Object
- Cloudscale::Constants::Agent
- Defined in:
- lib/cloudscale/monitor/model/constants/agent_store.rb
Constant Summary collapse
- @@AGENT_STORE =
"#{File.dirname(__FILE__)}/../../../store/agent/agent.store"
Class Method Summary collapse
Class Method Details
.load ⇒ Object
14 15 16 17 18 19 20 |
# File 'lib/cloudscale/monitor/model/constants/agent_store.rb', line 14 def self.load begin YAML.load(File.read(@@AGENT_STORE)) rescue return nil end end |