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.



2961
2962
2963
# File 'lib/platform-api/client.rb', line 2961

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



2968
2969
2970
# File 'lib/platform-api/client.rb', line 2968

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