Sha256: 5f7ec167200696067513b2899fd3bdf673e7ac0a47d666b01a303ceb66225822
Contents?: true
Size: 1.04 KB
Versions: 40
Compression:
Stored size: 1.04 KB
Contents
module Fog module Rackspace class AutoScale class Real # Retrieves a list of images # @return [Excon::Response] response: # * body [Hash]: # * images [Array]: # * [Hash]: # * id [String] - flavor id # * links [Array] - image links # * name [String] - image name # @raise [Fog::Compute::RackspaceV2::NotFound] - HTTP 404 # @raise [Fog::Compute::RackspaceV2::BadRequest] - HTTP 400 # @raise [Fog::Compute::RackspaceV2::InternalServerError] - HTTP 500 # @raise [Fog::Compute::RackspaceV2::ServiceError] # @see http://docs.rackspace.com/servers/api/v2/cs-devguide/content/List_Flavors-d1e4188.html def list_groups request( :expects => [200], :method => 'GET', :path => 'groups' ) end end class Mock def list_groups response(:body => {"groups" => self.data[:autoscale_groups]}) end end end end end
Version data entries
40 entries across 40 versions & 2 rubygems