Class: Fog::DNS::Google::Projects
- Inherits:
-
Collection
- Object
- Collection
- Fog::DNS::Google::Projects
- Defined in:
- lib/fog/dns/google/models/projects.rb
Instance Method Summary collapse
-
#get(identity) ⇒ Fog::DNS::Google::Project
Fetches the representation of an existing Project.
Instance Method Details
#get(identity) ⇒ Fog::DNS::Google::Project
Fetches the representation of an existing Project
12 13 14 15 16 17 18 |
# File 'lib/fog/dns/google/models/projects.rb', line 12 def get(identity) if project = service.get_project(identity).body new(project) end rescue Fog::Errors::NotFound nil end |