Sha256: 2eceacf9ff2748aaa3b5469c8a8d60a87fe0a821b41e8809473bf3a52d33f2da
Contents?: true
Size: 489 Bytes
Versions: 39
Compression:
Stored size: 489 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
39 entries across 37 versions & 6 rubygems