Class: PlatformAPI::PeeringInfo
- Inherits:
-
Object
- Object
- PlatformAPI::PeeringInfo
- Defined in:
- lib/platform-api/client.rb
Overview
Peering Info gives you the information necessary to peer an AWS VPC to a Private Space.
Instance Method Summary collapse
-
#info(space_id_or_space_name) ⇒ Object
Provides the necessary information to establish an AWS VPC Peering with your private space.
-
#initialize(client) ⇒ PeeringInfo
constructor
A new instance of PeeringInfo.
Constructor Details
#initialize(client) ⇒ PeeringInfo
Returns a new instance of PeeringInfo.
2333 2334 2335 |
# File 'lib/platform-api/client.rb', line 2333 def initialize(client) @client = client end |
Instance Method Details
#info(space_id_or_space_name) ⇒ Object
Provides the necessary information to establish an AWS VPC Peering with your private space.
2340 2341 2342 |
# File 'lib/platform-api/client.rb', line 2340 def info(space_id_or_space_name) @client.peering_info.info(space_id_or_space_name) end |