Sha256: a26816bb900cf6db8f2a8db82b25770bd656e10afc223080d6036ed1d6eeb2ab
Contents?: true
Size: 304 Bytes
Versions: 19
Compression:
Stored size: 304 Bytes
Contents
# An endpoint is used as source to fetch objects class LHS::Endpoint def self.for_url(url) template, record = LHS::Record::Endpoints.all.detect do |template, _record| LHC::Endpoint.match?(url, template) end record&.endpoints&.detect { |endpoint| endpoint.url == template } end end
Version data entries
19 entries across 19 versions & 1 rubygems