class LHC::Request
def use_configured_endpoint!
Experimental RBS support (using type sampling data from the type_fusion
project).
def use_configured_endpoint!: () -> nil
This signature was generated using 34 samples from 2 applications.
Get configured endpoint and use it for doing the request.
def use_configured_endpoint! endpoint = LHC.config.endpoints[options[:url]] return unless endpoint # explicit options override endpoint options new_options = endpoint.options.deep_merge(options) # set new options self.options = new_options options[:url] = endpoint.url end