Class: CloudFormatter::Reference

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

Defined Under Namespace

Classes: Key, Map

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ Reference

Returns a new instance of Reference


3
4
5
# File 'lib/cloud_formatter/reference.rb', line 3

def initialize(name)
  @name = name
end

Instance Method Details

#to_json_dataObject


7
8
9
# File 'lib/cloud_formatter/reference.rb', line 7

def to_json_data
  {REF => @name}
end