Sha256: 210164c67f91087d47755d971f8803f8c1cdfedabe4134fad59db0a7eea4252c
Contents?: true
Size: 447 Bytes
Versions: 209
Compression:
Stored size: 447 Bytes
Contents
# frozen_string_literal: true module Aws module EC2 class Resource def create_tags(options) resp = @client.create_tags(options) tags = [] options[:resources].each do |resource_id| options[:tags].each do |tag| tags << Tag.new(resource_id, tag[:key], tag[:value], client: @client) end end Tag::Collection.new([tags], size: tags.size) end end end end
Version data entries
209 entries across 209 versions & 1 rubygems