Sha256: ae15312ed60d82efb6b8789148e8ecdfde06afaa14352057a278f58e4ef54a8c
Contents?: true
Size: 544 Bytes
Versions: 4
Compression:
Stored size: 544 Bytes
Contents
module Fog module Orchestration class OpenStack class Real def list_stack_events(stack, options={}) 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 events = self.data[:events].values Excon::Response.new( :body => { 'events' => events }, :status => 200 ) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems