Method: Fog::Compute::IBM::Mock#list_instances
- Defined in:
- lib/fog/ibm/requests/compute/list_instances.rb
permalink #list_instances ⇒ Object
[View source]
47 48 49 50 51 52 |
# File 'lib/fog/ibm/requests/compute/list_instances.rb', line 47 def list_instances response = Excon::Response.new response.status = 200 response.body = { 'instances' => self.data[:instances].values } response end |