Class: Fog::AWS::Compute::Tag
- Inherits:
-
Model
- Object
- Model
- Fog::AWS::Compute::Tag
- Defined in:
- lib/fog/aws/models/compute/tag.rb
Instance Method Summary collapse
- #destroy ⇒ Object
-
#initialize(attributes = {}) ⇒ Tag
constructor
A new instance of Tag.
- #save ⇒ Object
Constructor Details
#initialize(attributes = {}) ⇒ Tag
Returns a new instance of Tag.
11 12 13 |
# File 'lib/fog/aws/models/compute/tag.rb', line 11 def initialize(attributes = {}) super end |
Instance Method Details
#destroy ⇒ Object
15 16 17 18 19 |
# File 'lib/fog/aws/models/compute/tag.rb', line 15 def destroy requires :key, :resource_id service.(resource_id, key => value) true end |
#save ⇒ Object
21 22 23 24 25 |
# File 'lib/fog/aws/models/compute/tag.rb', line 21 def save requires :key, :resource_id service.(resource_id, key => value) true end |