Class: CfFactory::CfEbOptionSetting
- Inherits:
-
Object
- Object
- CfFactory::CfEbOptionSetting
- Includes:
- CfInner
- Defined in:
- lib/cf_factory/eb/cf_eb_option_setting.rb
Instance Method Summary collapse
- #get_cf_attributes ⇒ Object
-
#initialize(namespace, option_name, value) ⇒ CfEbOptionSetting
constructor
A new instance of CfEbOptionSetting.
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_attributes ⇒ Object
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 |