Class: Fog::Compute::AWS::Tag
- Defined in:
- lib/fog/aws/models/compute/tag.rb
Instance Attribute Summary
Attributes inherited from Model
Instance Method Summary collapse
- #destroy ⇒ Object
-
#initialize(attributes = {}) ⇒ Tag
constructor
A new instance of Tag.
- #save ⇒ Object
Methods inherited from Model
#inspect, #reload, #symbolize_keys, #to_json, #wait_for
Methods included from Attributes::ClassMethods
#_load, #aliases, #attribute, #attributes, #identity, #ignore_attributes, #ignored_attributes
Methods included from Fog::Core::DeprecatedConnectionAccessors
#connection, #connection=, #prepare_service_value
Methods included from Attributes::InstanceMethods
#_dump, #attributes, #dup, #identity, #identity=, #merge_attributes, #new_record?, #persisted?, #requires, #requires_one
Constructor Details
#initialize(attributes = {}) ⇒ Tag
Returns a new instance of Tag.
15 16 17 |
# File 'lib/fog/aws/models/compute/tag.rb', line 15 def initialize(attributes = {}) super end |
Instance Method Details
#destroy ⇒ Object
19 20 21 22 23 |
# File 'lib/fog/aws/models/compute/tag.rb', line 19 def destroy requires :key, :resource_id service.(resource_id, key => value) true end |
#save ⇒ Object
25 26 27 28 29 |
# File 'lib/fog/aws/models/compute/tag.rb', line 25 def save requires :key, :resource_id service.(resource_id, key => value) true end |