Method: Fog::Compute::Bluebox::Real#get_location
- Defined in:
- lib/fog/bluebox/requests/compute/get_location.rb
#get_location(location_id) ⇒ Object
Get details of a location
Parameters
-
location_id<~Integer> - Id of location to lookup
Returns
-
response<~Excon::Response>:
-
body<~Array>:
-
TODO
15 16 17 18 19 20 21 |
# File 'lib/fog/bluebox/requests/compute/get_location.rb', line 15 def get_location(location_id) request( :expects => 200, :method => 'GET', :path => "api/locations/#{location_id}.json" ) end |