class PlatformAPI::SpaceTopology

Space Topology provides you with a mechanism for viewing all the running dynos, formations and applications for a space. This is the same data thats used to power our DNS Service Discovery.

Public Class Methods

new(client) click to toggle source
# File lib/platform-api/client.rb, line 2973
def initialize(client)
  @client = client
end

Public Instance Methods

topology(space_id_or_space_name) click to toggle source

Current space topology

@param space_id_or_space_name: unique identifier of space or unique name of space

# File lib/platform-api/client.rb, line 2980
def topology(space_id_or_space_name)
  @client.space_topology.topology(space_id_or_space_name)
end