Sha256: dab931119df19152058c641c95cc1a0b840d069cc1ba0a6f2c5e0d0156b4f98d

Contents?: true

Size: 550 Bytes

Versions: 39

Compression:

Stored size: 550 Bytes

Contents

module Fog
  module Compute
    class Bluebox
      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

39 entries across 37 versions & 5 rubygems

Version Path
fog-1.30.0 lib/fog/bluebox/requests/compute/get_template.rb
fog-1.29.0 lib/fog/bluebox/requests/compute/get_template.rb
fog-1.28.0 lib/fog/bluebox/requests/compute/get_template.rb
fog-1.27.0 lib/fog/bluebox/requests/compute/get_template.rb
fog-1.26.0 lib/fog/bluebox/requests/compute/get_template.rb
fog-1.25.0 lib/fog/bluebox/requests/compute/get_template.rb
nsidc-fog-1.24.1 lib/fog/bluebox/requests/compute/get_template.rb
fog-1.24.0 lib/fog/bluebox/requests/compute/get_template.rb
ns-fog-1.22.11 lib/fog/bluebox/requests/compute/get_template.rb
ns-fog-1.22.10 lib/fog/bluebox/requests/compute/get_template.rb
ns-fog-1.22.9 lib/fog/bluebox/requests/compute/get_template.rb
ns-fog-1.22.8 lib/fog/bluebox/requests/compute/get_template.rb
ns-fog-1.22.7 lib/fog/bluebox/requests/compute/get_template.rb
ns-fog-1.22.6 lib/fog/bluebox/requests/compute/get_template.rb
fog-1.23.0 lib/fog/bluebox/requests/compute/get_template.rb
ns-fog-1.22.4 lib/fog/bluebox/requests/compute/get_template.rb
ns-fog-1.22.3 lib/fog/bluebox/requests/compute/get_template.rb
ns-fog-1.22.2 lib/fog/bluebox/requests/compute/get_template.rb
fog-1.22.1 lib/fog/bluebox/requests/compute/get_template.rb