Sha256: 412652edc2001a28180dc46c1601cefe05e8dc30c09337f8870eb02f4635de8a
Contents?: true
Size: 418 Bytes
Versions: 34
Compression:
Stored size: 418 Bytes
Contents
require 'fog/core/collection' require 'fog/google/models/compute/project' module Fog module Compute class Google class Projects < Fog::Collection model Fog::Compute::Google::Project def get(identity) if project = service.get_project(identity).body new(project) end rescue Fog::Errors::NotFound nil end end end end end
Version data entries
34 entries across 32 versions & 6 rubygems