Sha256: cc6f3a9968f99b43e492b7161aa7add4169bc2ebcc4a09dcd663ac53f9600b76
Contents?: true
Size: 860 Bytes
Versions: 21
Compression:
Stored size: 860 Bytes
Contents
module Fog module OpenStack class Orchestration 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
21 entries across 21 versions & 3 rubygems