Sha256: 3fe69eda59ed4301a64ae41757ab41d0990e9a6a3f059802c04310e56b840cf8
Contents?: true
Size: 575 Bytes
Versions: 34
Compression:
Stored size: 575 Bytes
Contents
module Awspec::Helper module Finder module Codebuild def find_codebuild_project(id) projects = select_all_codebuild_projects.select do |project| project == id end projects.single_resource(id) end def select_all_codebuild_projects req = {} projects = [] loop do res = codebuild_client.list_projects(req) projects.push(*res.projects) break if res.next_token.nil? req[:next_token] = res.next_token end projects end end end end
Version data entries
34 entries across 34 versions & 3 rubygems