Class: CfOutput
- Inherits:
-
Object
show all
- Includes:
- CfBase
- Defined in:
- lib/cf_factory/base/cf_output.rb
Instance Method Summary
collapse
Methods included from CfBase
#generate, #generate_ref, #get_deletion_policy, #get_name, #hash_to_string, #retrieve_attribute, #set_meta_data, #set_quotes, #set_tags
Constructor Details
#initialize(name, description, value) ⇒ CfOutput
Returns a new instance of CfOutput.
6
7
8
9
10
|
# File 'lib/cf_factory/base/cf_output.rb', line 6
def initialize(name, description, value)
@name = name
@description = description
@value = value
end
|
Instance Method Details
#get_cf_attributes ⇒ Object
16
17
18
|
# File 'lib/cf_factory/base/cf_output.rb', line 16
def get_cf_attributes
{"Description" => @description, "Value" => @value}
end
|
#get_cf_properties ⇒ Object
20
21
22
|
# File 'lib/cf_factory/base/cf_output.rb', line 20
def get_cf_properties
{}
end
|
#get_cf_type ⇒ Object
12
13
14
|
# File 'lib/cf_factory/base/cf_output.rb', line 12
def get_cf_type
nil
end
|