Class: Bosh::Director::Models::RuntimeConfig
- Defined in:
- lib/bosh/director/models/runtime_config.rb
Instance Method Summary collapse
Instance Method Details
#before_create ⇒ Object
5 6 7 |
# File 'lib/bosh/director/models/runtime_config.rb', line 5 def before_create self.created_at ||= Time.now end |
#manifest ⇒ Object
13 14 15 |
# File 'lib/bosh/director/models/runtime_config.rb', line 13 def manifest Psych.load properties end |
#manifest=(runtime_config_hash) ⇒ Object
9 10 11 |
# File 'lib/bosh/director/models/runtime_config.rb', line 9 def manifest=(runtime_config_hash) self.properties = Psych.dump(runtime_config_hash) end |