Method: CFoundry::V1::App#instances

Defined in:
lib/cfoundry/v1/app.rb

#instancesObject

Retrieve all of the instances of the app, as Instance objects.



88
89
90
91
92
# File 'lib/cfoundry/v1/app.rb', line 88

def instances
  @client.base.instances(@guid).collect do |m|
    Instance.new(self, m[:index].to_s, @client, m)
  end
end