Class: AWS::Instance

Inherits:
Object
  • Object
show all
Defined in:
lib/aws_metadata/instance_metadata.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#dynamicObject

Returns the value of attribute dynamic.



53
54
55
# File 'lib/aws_metadata/instance_metadata.rb', line 53

def dynamic
  @dynamic
end

#metadataObject

Returns the value of attribute metadata.



53
54
55
# File 'lib/aws_metadata/instance_metadata.rb', line 53

def 
  
end

#user_dataObject

Returns the value of attribute user_data.



53
54
55
# File 'lib/aws_metadata/instance_metadata.rb', line 53

def user_data
  @user_data
end

Instance Method Details

#to_hashObject

All the metadata from 169.254.169.254

The hashes are Hashish objects that allows regular method like calls where all method names are the keys underscored.



103
104
105
# File 'lib/aws_metadata/instance_metadata.rb', line 103

def to_hash
  { :metadata => , :user_data => @user_data, :dynamic => @dynamic }
end