Class: PlatformAPI::SpaceTopology
- Inherits:
-
Object
- Object
- PlatformAPI::SpaceTopology
- Defined in:
- lib/platform-api/client.rb
Overview
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.
Instance Method Summary collapse
-
#initialize(client) ⇒ SpaceTopology
constructor
A new instance of SpaceTopology.
-
#topology(space_id_or_space_name) ⇒ Object
Current space topology.
Constructor Details
#initialize(client) ⇒ SpaceTopology
Returns a new instance of SpaceTopology.
3032 3033 3034 |
# File 'lib/platform-api/client.rb', line 3032 def initialize(client) @client = client end |
Instance Method Details
#topology(space_id_or_space_name) ⇒ Object
Current space topology
3039 3040 3041 |
# File 'lib/platform-api/client.rb', line 3039 def topology(space_id_or_space_name) @client.space_topology.topology(space_id_or_space_name) end |