Sha256: 930fda1a48c9bae0400c628408970f661420a55abdcf17f87c47482418fe757a
Contents?: true
Size: 1.18 KB
Versions: 39
Compression:
Stored size: 1.18 KB
Contents
module Fog module Orchestration class OpenStack class Real # List stacks. # # @param options [Hash] # # @return [Excon::Response] # * body [Hash]: # * stacks [Array] - Matching stacks # * stack [Hash]: # * id [String] - # * stack_name [String] - # * description [String] # * links [Array] # * stack_status [String] - # * stack_status_reason [String] # * creation_time [Time] - # * updated_time [Time] - # # # @see http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ListStacks.html def list_stacks(options = {}) request( :expects => 200, :path => 'stacks', :method => 'GET', :query => options ) end end class Mock def list_stacks(options = {}) stacks = self.data[:stacks].values Excon::Response.new( :body => { 'stacks' => stacks }, :status => 200 ) end end end end end
Version data entries
39 entries across 39 versions & 2 rubygems