Sha256: e73c4b88762f71dbe572510ad278a59309ad1fc03429f0dc974ce8b2e7a2fcd8
Contents?: true
Size: 588 Bytes
Versions: 41
Compression:
Stored size: 588 Bytes
Contents
module Fog module DNS class Google class Projects < Fog::Collection model Fog::DNS::Google::Project ## # Fetches the representation of an existing Project # # @param [String] identity Project identity # @return [Fog::DNS::Google::Project] Project resource def get(identity) if project = service.get_project(identity).to_h new(project) end rescue ::Google::Apis::ClientError => e raise e unless e.status_code == 404 nil end end end end end
Version data entries
41 entries across 41 versions & 2 rubygems