Sha256: a93e1d13880716177113de9f3fbea82a188b606134644076bea5cbf7213311b2
Contents?: true
Size: 529 Bytes
Versions: 27
Compression:
Stored size: 529 Bytes
Contents
class Route53Domains < Mapper # # Returns an array of resources. # def collect resources = [] # # list_domains # @client.list_domains.each_with_index do |response, page| log(response.context.operation_name, page) response.domains.each do |domain| struct = OpenStruct.new(domain.to_h) struct.type = 'domain' struct.arn = "arn:aws:#{@service}:#{@region}::domain/#{domain.domain_name}" resources.push(struct.to_h) end end resources end end
Version data entries
27 entries across 27 versions & 1 rubygems