Class: CloudBuilder::Reference

Inherits:
Object
  • Object
show all
Defined in:
lib/cloud_builder/reference.rb

Defined Under Namespace

Classes: Attribute, Base64, Join, Key, Map

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ Reference

Returns a new instance of Reference.



21
22
23
# File 'lib/cloud_builder/reference.rb', line 21

def initialize(name)
  @name = name
end

Instance Method Details

#to_json_dataObject



25
26
27
# File 'lib/cloud_builder/reference.rb', line 25

def to_json_data
  {REF => DSL.format(@name)}
end