Class: Awsum::Ec2::Tag
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#resource_id ⇒ Object
readonly
Returns the value of attribute resource_id.
-
#resource_type ⇒ Object
readonly
Returns the value of attribute resource_type.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(ec2, resource_id, resource_type, key, value) ⇒ Tag
constructor
:nodoc:.
Constructor Details
#initialize(ec2, resource_id, resource_type, key, value) ⇒ Tag
:nodoc:
8 9 10 11 12 13 14 |
# File 'lib/awsum/ec2/tag.rb', line 8 def initialize(ec2, resource_id, resource_type, key, value) #:nodoc: @ec2 = ec2 @resource_id = resource_id @resource_type = resource_type @key = key @value = value end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
6 7 8 |
# File 'lib/awsum/ec2/tag.rb', line 6 def key @key end |
#resource_id ⇒ Object (readonly)
Returns the value of attribute resource_id.
6 7 8 |
# File 'lib/awsum/ec2/tag.rb', line 6 def resource_id @resource_id end |
#resource_type ⇒ Object (readonly)
Returns the value of attribute resource_type.
6 7 8 |
# File 'lib/awsum/ec2/tag.rb', line 6 def resource_type @resource_type end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
6 7 8 |
# File 'lib/awsum/ec2/tag.rb', line 6 def value @value end |