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.
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.
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 |