Sha256: 21635457374c0d0b0f791b0d79725357434a0e7000653a02932ed2ae0755f885
Contents?: true
Size: 487 Bytes
Versions: 31
Compression:
Stored size: 487 Bytes
Contents
module Awspec::Helper module Finder module Apigateway def find_apigateway_by_id(id) rest_apis = apigateway_client.get_rest_apis rest_apis.items.each do |item| return item if item.id == id end nil end def find_apigateway_by_name(name) rest_apis = apigateway_client.get_rest_apis rest_apis.items.each do |item| return item if item.name == name end nil end end end end
Version data entries
31 entries across 31 versions & 1 rubygems