Class: PlatformAPI::SpaceNat
- Inherits:
-
Object
- Object
- PlatformAPI::SpaceNat
- Defined in:
- lib/platform-api/client.rb
Overview
Network address translation (NAT) for stable outbound IP addresses from a space
Instance Method Summary collapse
-
#info(space_id_or_space_name) ⇒ Object
Current state of network address translation for a space.
-
#initialize(client) ⇒ SpaceNat
constructor
A new instance of SpaceNat.
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.
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 |