Sha256: 5947455ddff687baafd8fd8251bcb9ddeb9f81e14eadf82e46ff26662e9a1398

Contents?: true

Size: 699 Bytes

Versions: 36

Compression:

Stored size: 699 Bytes

Contents

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

    class Mock

      def get_templates
        Fog::Mock.not_implemented
      end

    end
  end
end

Version data entries

36 entries across 36 versions & 2 rubygems

Version Path
fog-0.2.30 lib/fog/bluebox/requests/get_templates.rb
fog-0.2.28 lib/fog/bluebox/requests/get_templates.rb
fog-0.2.27 lib/fog/bluebox/requests/get_templates.rb
fog-0.2.26 lib/fog/bluebox/requests/get_templates.rb
fog-0.2.25 lib/fog/bluebox/requests/get_templates.rb
fog-0.2.24 lib/fog/bluebox/requests/get_templates.rb
tecnh-fog-0.2.23.vpc lib/fog/bluebox/requests/get_templates.rb
fog-0.2.23 lib/fog/bluebox/requests/get_templates.rb
fog-0.2.22 lib/fog/bluebox/requests/get_templates.rb
fog-0.2.21 lib/fog/bluebox/requests/get_templates.rb
fog-0.2.20 lib/fog/bluebox/requests/get_templates.rb
fog-0.2.19 lib/fog/bluebox/requests/get_templates.rb
fog-0.2.18 lib/fog/bluebox/requests/get_templates.rb
fog-0.2.17 lib/fog/bluebox/requests/get_templates.rb
fog-0.2.16 lib/fog/bluebox/requests/get_templates.rb
fog-0.2.15 lib/fog/bluebox/requests/get_templates.rb
fog-0.2.14 lib/fog/bluebox/requests/get_templates.rb
fog-0.2.13 lib/fog/bluebox/requests/get_templates.rb
fog-0.2.12 lib/fog/bluebox/requests/get_templates.rb
fog-0.2.11 lib/fog/bluebox/requests/get_templates.rb