Sha256: 4b1d90a54c1d9c4ecd1b40a38c6493ff316a10771dd6cd822625db3c9461cb86

Contents?: true

Size: 552 Bytes

Versions: 9

Compression:

Stored size: 552 Bytes

Contents

module Fog
  module Bluebox
    class Compute
      class Real

        # Get details of a template
        #
        # ==== Parameters
        # * template_id<~Integer> - Id of template to lookup
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Array>:
        # TODO
        def get_template(template_id)
          request(
            :expects  => 200,
            :method   => 'GET',
            :path     => "api/block_templates/#{template_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_template.rb
fog-0.8.1 lib/fog/compute/requests/bluebox/get_template.rb
fog-0.8.0 lib/fog/compute/requests/bluebox/get_template.rb
fog-0.7.2 lib/fog/compute/requests/bluebox/get_template.rb
fog-0.7.1 lib/fog/compute/requests/bluebox/get_template.rb
fog-0.7.0 lib/fog/compute/requests/bluebox/get_template.rb
fog-0.6.0 lib/fog/compute/requests/bluebox/get_template.rb
fog-0.5.3 lib/fog/compute/requests/bluebox/get_template.rb
fog-0.5.2 lib/fog/compute/requests/bluebox/get_template.rb