Class: Bosh::Cli::CloudConfig

Inherits:
Struct
  • Object
show all
Defined in:
lib/cli/cloud_config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_atObject

Returns the value of attribute created_at

Returns:

  • (Object)

    the current value of created_at


3
4
5
# File 'lib/cli/cloud_config.rb', line 3

def created_at
  @created_at
end

#propertiesObject

Returns the value of attribute properties

Returns:

  • (Object)

    the current value of properties


3
4
5
# File 'lib/cli/cloud_config.rb', line 3

def properties
  @properties
end