Sha256: cfd5ba663614ec320253ca85a7c935c17ed0cb86faa44af63fb04d7195a37ad7
Contents?: true
Size: 601 Bytes
Versions: 39
Compression:
Stored size: 601 Bytes
Contents
require 'fog/aws/models/compute/tag' module Fog module Compute class AWS class Tags < Fog::Collection attribute :filters model Fog::Compute::AWS::Tag def initialize(attributes) self.filters ||= {} super end def all(filters_arg = filters) filters = filters_arg data = service.describe_tags(filters).body load(data['tagSet']) end def get(key) if key self.class.new(:service => service).all('key' => key) end end end end end end
Version data entries
39 entries across 37 versions & 3 rubygems