Sha256: 1c8c8cfa0a06ded7fa8fc2934ae2fd4f794481223ae0cdadbd4536c6ae7a797e
Contents?: true
Size: 474 Bytes
Versions: 32
Compression:
Stored size: 474 Bytes
Contents
require 'active_support' # require File.dirname(__FILE__) + '/../../proxy' class LHS::Proxy module Link extend ActiveSupport::Concern private def record_from_link LHS::Record.for_url(_data.href) end def endpoint_from_link LHS::Endpoint.for_url(_data.href) end def params_from_link return {} if !_data.href || !endpoint_from_link LHC::Endpoint.values_as_params(endpoint_from_link.url, _data.href) end end end
Version data entries
32 entries across 32 versions & 1 rubygems