Sha256: e4efca4cf334a26e87c5f7f8d39556abd5df7758d73368e38155343df53d43f3

Contents?: true

Size: 667 Bytes

Versions: 9

Compression:

Stored size: 667 Bytes

Contents

module Fog
  module Bluebox
    class Compute
      class Real

        # Get list of OS templates
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Array>:
        #     * 'id'<~String> - UUID of the image
        #     * 'description'<~String> - Description of the image
        #     * 'public'<~Boolean> - Public / Private image
        #     * 'created'<~Datetime> - Timestamp of when the image was created
        def get_templates
          request(
            :expects  => 200,
            :method   => 'GET',
            :path     => 'api/block_templates.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_templates.rb
fog-0.8.1 lib/fog/compute/requests/bluebox/get_templates.rb
fog-0.8.0 lib/fog/compute/requests/bluebox/get_templates.rb
fog-0.7.2 lib/fog/compute/requests/bluebox/get_templates.rb
fog-0.7.1 lib/fog/compute/requests/bluebox/get_templates.rb
fog-0.7.0 lib/fog/compute/requests/bluebox/get_templates.rb
fog-0.6.0 lib/fog/compute/requests/bluebox/get_templates.rb
fog-0.5.3 lib/fog/compute/requests/bluebox/get_templates.rb
fog-0.5.2 lib/fog/compute/requests/bluebox/get_templates.rb