Sha256: 912a4857b2e02cb7f2c13a87ff75f78611d0c05599ac0a948886e627dfcc3528
Contents?: true
Size: 424 Bytes
Versions: 70
Compression:
Stored size: 424 Bytes
Contents
require 'active_support' 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
70 entries across 70 versions & 1 rubygems