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
41 42 43 44 45 46 47 48 49 |
# File 'lib/ngrokapi/services/https_edge_tls_termination_module_client.rb', line 41 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, danger: true) NgrokAPI::Models::EndpointTLSTermination.new(client: self, attrs: result) end |