Sha256: a1859e357a8f4c31a743820b39628f40b3a021e9dfd94e13ee320c39e06250cd
Contents?: true
Size: 602 Bytes
Versions: 38
Compression:
Stored size: 602 Bytes
Contents
module Fog module Rackspace class AutoScale class Real def get_group_config(group_id) request( :expects => [200], :method => 'GET', :path => "groups/#{group_id}/config" ) end end class Mock def get_group_config(group_id) group = self.data[:autoscale_groups][group_id] if group.nil? raise Fog::Rackspace::AutoScale::NotFound end response(:body => {"groupConfiguration" => group['groupConfiguration']}) end end end end end
Version data entries
38 entries across 38 versions & 2 rubygems