class DrawCloud::Output
Attributes
description[RW]
name[RW]
value[RW]
Public Class Methods
new(name, options={}, &block)
click to toggle source
Calls superclass method
DrawCloud::Base::new
# File lib/draw_cloud/output.rb, line 22 def initialize(name, options={}, &block) @name = name super(options, &block) end
Public Instance Methods
load_into_config(config)
click to toggle source
Calls superclass method
DrawCloud::Base#load_into_config
# File lib/draw_cloud/output.rb, line 27 def load_into_config(config) config.cf_add_output resource_name, self super(config) end
to_h()
click to toggle source
# File lib/draw_cloud/output.rb, line 32 def to_h h = {"Value" => DrawCloud.ref(value)} h["Description"] = description if description h end