Method: NgrokAPI::Services::HTTPSEdgeTLSTerminationModuleClient#replace
- Defined in:
- lib/ngrokapi/services/https_edge_tls_termination_module_client.rb
#replace(id: "", a_module: nil) ⇒ NgrokAPI::Models::EndpointTLSTermination
25 26 27 28 29 30 31 32 33 |
# File 'lib/ngrokapi/services/https_edge_tls_termination_module_client.rb', line 25 def replace(id: "", a_module: nil) path = '/edges/https/%{id}/tls_termination' replacements = { id: id, } data = a_module result = @client.put(path % replacements, data: data) NgrokAPI::Models::EndpointTLSTermination.new(client: self, attrs: result) end |