Method: Fog::Orchestration::HuaweiCloud::Mock#list_stack_events

Defined in:
lib/fog/orchestration/huaweicloud/requests/list_stack_events.rb

#list_stack_events(_stack, _options = {}) ⇒ Object



16
17
18
19
20
21
22
23
# File 'lib/fog/orchestration/huaweicloud/requests/list_stack_events.rb', line 16

def list_stack_events(_stack, _options = {})
  events = data[:events].values

  Excon::Response.new(
    :body   => {'events' => events},
    :status => 200
  )
end