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