Class: Bosh::Cli::RuntimeConfig
- Defined in:
- lib/cli/runtime_config.rb
Instance Attribute Summary collapse
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#properties ⇒ Object
Returns the value of attribute properties.
Instance Method Summary collapse
-
#initialize(attrs) ⇒ RuntimeConfig
constructor
A new instance of RuntimeConfig.
Constructor Details
#initialize(attrs) ⇒ RuntimeConfig
Returns a new instance of RuntimeConfig.
4 5 6 7 |
# File 'lib/cli/runtime_config.rb', line 4 def initialize(attrs) self.properties = attrs.fetch(:properties) self.created_at = attrs.fetch(:created_at) end |
Instance Attribute Details
#created_at ⇒ Object
Returns the value of attribute created_at
3 4 5 |
# File 'lib/cli/runtime_config.rb', line 3 def created_at @created_at end |
#properties ⇒ Object
Returns the value of attribute properties
3 4 5 |
# File 'lib/cli/runtime_config.rb', line 3 def properties @properties end |