Method: NgrokAPI::Services::TCPEdgeIPRestrictionModuleClient#get!
- Defined in:
- lib/ngrokapi/services/tcp_edge_ip_restriction_module_client.rb
#get!(id: "") ⇒ NgrokAPI::Models::EndpointIPPolicy
71 72 73 74 75 76 77 78 79 |
# File 'lib/ngrokapi/services/tcp_edge_ip_restriction_module_client.rb', line 71 def get!(id: "") path = '/edges/tcp/%{id}/ip_restriction' replacements = { id: id, } data = {} result = @client.get(path % replacements, data: data, danger: true) NgrokAPI::Models::EndpointIPPolicy.new(client: self, attrs: result) end |