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