Sha256: 556222bfc1718b0231576e9c3c59afa3eb7ccfb665dcb732159771c06e4cf76a
Contents?: true
Size: 318 Bytes
Versions: 15
Compression:
Stored size: 318 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_class| LHC::Endpoint.match?(url, template) end record.endpoints.detect { |endpoint| endpoint.url == template } if record end end
Version data entries
15 entries across 15 versions & 1 rubygems