Sha256: 91f377ff7caf4a5425a8416ecfab6a79bdcc0d590a24ff04883ec5bc7bba2e76
Contents?: true
Size: 490 Bytes
Versions: 40
Compression:
Stored size: 490 Bytes
Contents
module Fog module Rackspace class AutoScale class Real def list_policies(group_id) request( :expects => [200], :method => 'GET', :path => "groups/#{group_id}/policies" ) end end class Mock def list_policies(group_id) group = self.data[:autoscale_groups][group_id] response(:body => {'policies' => group['scalingPolicies']}) end end end end end
Version data entries
40 entries across 40 versions & 2 rubygems