Class: Fog::Compute::AWS::Tag
- Inherits:
-
Model
- Object
- Model
- Fog::Compute::AWS::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.
13 14 15 |
# File 'lib/fog/aws/models/compute/tag.rb', line 13 def initialize(attributes = {}) super end |
Instance Method Details
#destroy ⇒ Object
17 18 19 20 21 |
# File 'lib/fog/aws/models/compute/tag.rb', line 17 def destroy requires :key, :resource_id service.(resource_id, key => value) true end |
#save ⇒ Object
23 24 25 26 27 |
# File 'lib/fog/aws/models/compute/tag.rb', line 23 def save requires :key, :resource_id service.(resource_id, key => value) true end |