Methods

Class/Module Index [+]

Quicksearch

Fog::Compute::AWS::Tags

Public Class Methods

new(attributes) click to toggle source
# File lib/fog/aws/models/compute/tags.rb, line 14
def initialize(attributes)
  self.filters ||= {}
  super
end

Public Instance Methods

all(filters = filters) click to toggle source
# File lib/fog/aws/models/compute/tags.rb, line 19
def all(filters = filters)
  self.filters = filters
  data = service.describe_tags(filters).body
  load(data['tagSet'])
end
get(key) click to toggle source
# File lib/fog/aws/models/compute/tags.rb, line 25
def get(key)
  if key
    self.class.new(:service => service).all('key' => key)
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.