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.



2941
2942
2943
# File 'lib/platform-api/client.rb', line 2941

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



2948
2949
2950
# File 'lib/platform-api/client.rb', line 2948

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