Class: AWS::EC2::ResourceObject
- Inherits:
-
Resource
- Object
- Resource
- AWS::EC2::ResourceObject
- Includes:
- TaggedItem
- Defined in:
- lib/aws/ec2/tag_collection.rb
Overview
Temporary class that will be removed once the rest of the taggable EC2 resources have been modeled.
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(id, options = {}) ⇒ ResourceObject
constructor
A new instance of ResourceObject.
Methods included from TaggedItem
Constructor Details
#initialize(id, options = {}) ⇒ ResourceObject
Returns a new instance of ResourceObject.
28 29 30 31 32 |
# File 'lib/aws/ec2/tag_collection.rb', line 28 def initialize id, = {} @id = id @resource_type = [:resource_type] super end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
34 35 36 |
# File 'lib/aws/ec2/tag_collection.rb', line 34 def id @id end |