Class: PlatformAPI::PeeringInfo

Inherits:
Object
  • Object
show all
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

Constructor Details

#initialize(client) ⇒ PeeringInfo

Returns a new instance of PeeringInfo.



2277
2278
2279
# File 'lib/platform-api/client.rb', line 2277

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.

Parameters:

  • space_id_or_space_name:

    unique identifier of space or unique name of space



2284
2285
2286
# File 'lib/platform-api/client.rb', line 2284

def info(space_id_or_space_name)
  @client.peering_info.info(space_id_or_space_name)
end