Sha256: 15d57d5cafb4e6ce91c96b940f28f7e4a178b20816e6472e67944129b282b78a
Contents?: true
Size: 428 Bytes
Versions: 26
Compression:
Stored size: 428 Bytes
Contents
module Fog module Compute class Google class Projects < Fog::Collection model Fog::Compute::Google::Project def get(identity) if identity project = service.get_project(identity).to_h return new(project) end rescue ::Google::Apis::ClientError => e raise e unless e.status_code == 404 nil end end end end end
Version data entries
26 entries across 26 versions & 2 rubygems