Sha256: b476612000b5313d6ee7d6a2974e5e3d72023585d6564642b32c77a07b23c48d
Contents?: true
Size: 415 Bytes
Versions: 14
Compression:
Stored size: 415 Bytes
Contents
module Fog module Compute class Google class Zones < Fog::Collection model Fog::Compute::Google::Zone def all data = service.list_zones.body["items"] || [] load(data) end def get(identity) data = service.get_zone(identity).body new(data) rescue Fog::Errors::NotFound nil end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems