Class: PlatformAPI::SpaceNat

Inherits:
Object
  • Object
show all
Defined in:
lib/platform-api/client.rb

Overview

Network address translation (NAT) for stable outbound IP addresses from a space

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ SpaceNat

Returns a new instance of SpaceNat.


2415
2416
2417
# File 'lib/platform-api/client.rb', line 2415

def initialize(client)
  @client = client
end

Instance Method Details

#info(space_id_or_space_name) ⇒ Object

Current state of network address translation for a space.

Parameters:

  • space_id_or_space_name:

    unique identifier of space or unique name of space


2422
2423
2424
# File 'lib/platform-api/client.rb', line 2422

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