Sha256: de99ce9f145ce6b890a76c1deeeb13bd1fa58be4886cd40509de4bbf99f9530d

Contents?: true

Size: 525 Bytes

Versions: 9

Compression:

Stored size: 525 Bytes

Contents

module Fog
  module Bluebox
    class Compute
      class Real

        # Get details of a block.
        #
        # ==== Parameters
        # * block_id<~Integer> - Id of block to lookup
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:
        # TODO
        def get_block(block_id)
          request(
            :expects  => 200,
            :method   => 'GET',
            :path     => "api/blocks/#{block_id}.json"
          )
        end

      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
fog-0.8.2 lib/fog/compute/requests/bluebox/get_block.rb
fog-0.8.1 lib/fog/compute/requests/bluebox/get_block.rb
fog-0.8.0 lib/fog/compute/requests/bluebox/get_block.rb
fog-0.7.2 lib/fog/compute/requests/bluebox/get_block.rb
fog-0.7.1 lib/fog/compute/requests/bluebox/get_block.rb
fog-0.7.0 lib/fog/compute/requests/bluebox/get_block.rb
fog-0.6.0 lib/fog/compute/requests/bluebox/get_block.rb
fog-0.5.3 lib/fog/compute/requests/bluebox/get_block.rb
fog-0.5.2 lib/fog/compute/requests/bluebox/get_block.rb