Class: CloudFormer::MetadataResource

Inherits:
Object
  • Object
show all
Includes:
HasPropertiesAndAttributes, MakesJson
Defined in:
lib/cloud_former/metadata_resources/metadata_resource.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from MakesJson

#dump_json, included

Methods included from HasPropertiesAndAttributes

included, #nested_resources, #resource_tree

Constructor Details

#initialize(&block) ⇒ MetadataResource

Returns a new instance of MetadataResource.



9
10
11
12
13
# File 'lib/cloud_former/metadata_resources/metadata_resource.rb', line 9

def initialize(&block)
  if block_given?
    self.instance_eval(&block)
  end
end

Instance Attribute Details

#aws_typeObject (readonly)

Returns the value of attribute aws_type.



7
8
9
# File 'lib/cloud_former/metadata_resources/metadata_resource.rb', line 7

def aws_type
  @aws_type
end