Sha256: f7e04018c8131ffe13e303cbf54653b1f4c8b26d99f30b003e5362c55f2eab41
Contents?: true
Size: 607 Bytes
Versions: 11
Compression:
Stored size: 607 Bytes
Contents
require 'fog/core/collection' require 'fog/google/models/compute/target_http_proxy' module Fog module Compute class Google class TargetHttpProxies < Fog::Collection model Fog::Compute::Google::TargetHttpProxy def all(filters={}) data = service.list_target_http_proxies.body['items'] || [] load(data) end def get(identity) if target_http_proxy = service.get_target_http_proxy(identity).body new(target_http_proxy) end rescue Fog::Errors::NotFound nil end end end end end
Version data entries
11 entries across 9 versions & 3 rubygems