Class: Fog::DNS::Google::Projects
- Inherits:
-
Collection
- Object
- Collection
- Fog::DNS::Google::Projects
- Defined in:
- lib/fog/google/models/dns/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
15 16 17 18 19 20 21 |
# File 'lib/fog/google/models/dns/projects.rb', line 15 def get(identity) if project = service.get_project(identity).body new(project) end rescue Fog::Errors::NotFound nil end |