Class: CfFactory::CfEbOptionSetting

Inherits:
Object
  • Object
show all
Includes:
CfInner
Defined in:
lib/cf_factory/eb/cf_eb_option_setting.rb

Instance Method Summary collapse

Methods included from CfInner

#additional_indent, #generate, #generate_name, #hash_to_string, #set_quotes

Constructor Details

#initialize(namespace, option_name, value) ⇒ CfEbOptionSetting

Returns a new instance of CfEbOptionSetting.



6
7
8
9
10
# File 'lib/cf_factory/eb/cf_eb_option_setting.rb', line 6

def initialize(namespace, option_name, value)
  @namespace=namespace
  @option_name = option_name
  @value = value
end

Instance Method Details

#get_cf_attributesObject



12
13
14
15
16
17
# File 'lib/cf_factory/eb/cf_eb_option_setting.rb', line 12

def get_cf_attributes
  { "Namespace" => @namespace,
    "OptionName" => @option_name,
    "Value" => @value
  }
end