Sha256: 27f313b2777b385f3c462eed14aa02c96d220e56a3d89965faf5c154944f5ea4
Contents?: true
Size: 628 Bytes
Versions: 23
Compression:
Stored size: 628 Bytes
Contents
module Fog module Orchestration class OpenStack class Real def show_event_details(stack, resource, event_id) request( :method => 'GET', :path => "stacks/#{stack.stack_name}/#{stack.id}/resources/#{resource.resource_name}/events/#{event_id}", :expects => 200 ) end end class Mock def show_event_details(stack, event) events = self.data[:events].values Excon::Response.new( :body => { 'events' => events }, :status => 200 ) end end end end end
Version data entries
23 entries across 23 versions & 3 rubygems