Sha256: 3c23ecb8b8e267e5a2b9e41c356fb7d336f95fcd0dcb8b6dc302f17fd8385118
Contents?: true
Size: 602 Bytes
Versions: 21
Compression:
Stored size: 602 Bytes
Contents
require 'fog/core/collection' require 'fog/google/models/dns/project' 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).body new(project) end rescue Fog::Errors::NotFound nil end end end end end
Version data entries
21 entries across 19 versions & 5 rubygems