Class: Bosh::Cli::CloudConfig
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) ⇒ CloudConfig
constructor
A new instance of CloudConfig.
Constructor Details
#initialize(attrs) ⇒ CloudConfig
Returns a new instance of CloudConfig.
4 5 6 7 |
# File 'lib/cli/cloud_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/cloud_config.rb', line 3 def created_at @created_at end |
#properties ⇒ Object
Returns the value of attribute properties
3 4 5 |
# File 'lib/cli/cloud_config.rb', line 3 def properties @properties end |