Class: Fog::Compute::Gridscale::Requests

Inherits:
PagingCollection show all
Defined in:
lib/fog/compute/gridscale/models/requests.rb

Instance Method Summary collapse

Methods inherited from PagingCollection

#next_page, #previous_page

Instance Method Details

#get(object_uuid) ⇒ Object



9
10
11
12
13
14
# File 'lib/fog/compute/gridscale/models/requests.rb', line 9

def get(object_uuid)
  request = service.request_get(object_uuid).body[object_uuid]
  new(request) if request
rescue Fog::Errors::NotFound
  nil
end