Sha256: f30c4d9fb626916ace7007768c19288db995e29ab6c99f8769c55f02b43269db
Contents?: true
Size: 549 Bytes
Versions: 14
Compression:
Stored size: 549 Bytes
Contents
module Fog module Compute class Google class HttpHealthChecks < Fog::Collection model Fog::Compute::Google::HttpHealthCheck def all(_filters = {}) data = service.list_http_health_checks.body["items"] || [] load(data) end def get(identity) response = nil response = service.get_http_health_check(identity) return nil if response.nil? new(response.body) rescue Fog::Errors::NotFound nil end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems