class LHC::Endpoint

def compile(params)

Experimental RBS support (using type sampling data from the type_fusion project).

def compile: (Hash params) -> String

This signature was generated using 39 samples from 4 applications.

def compile(params)
  context = LHC.config.placeholders.deep_dup
  context.merge!(params) if params.is_a?(Hash)
  expanded = uri.partial_expand(context)
  if expanded.variables.empty?
    expanded.pattern
  else
    raise("Compilation incomplete. Unable to find value for #{expanded.variables.join(', ')}.")
  end
end