Sha256: bd92dcc07c5726028d9e8811772793f34a4354f21a215981eaec9f2ee93da530
Contents?: true
Size: 860 Bytes
Versions: 39
Compression:
Stored size: 860 Bytes
Contents
module Fog module Orchestration class OpenStack class Real def list_stack_events(stack, options = {}) Fog::Logger.deprecation('Calling OpenStack[:orchestration].list_stack_events(stack, options)'\ ' is deprecated, call .list_events(:stack => stack) or '\ ' .list_events(:stack_name => value, :stack_id => value) instead') uri = "stacks/#{stack.stack_name}/#{stack.id}/events" request(:method => 'GET', :path => uri, :expects => 200, :query => options) end end class Mock def list_stack_events(_stack, _options = {}) events = data[:events].values Excon::Response.new( :body => {'events' => events}, :status => 200 ) end end end end end
Version data entries
39 entries across 37 versions & 3 rubygems