Sha256: 9cc130e329993a384a642e17c4f26dbef257301287d593a8e07ef9ce5b7c7bd6
Contents?: true
Size: 595 Bytes
Versions: 12
Compression:
Stored size: 595 Bytes
Contents
require 'resync' require_relative 'client_delegator' module Resync class Client module Mixins # A link container that is capable of providing those resources with a {Client} module LinkClientDelegate prepend ClientDelegator # Sets this object as the client provider delegate for each link. # @param value [Array<Link>] the links for this list def links=(value) super links.each { |l| l.client_delegate = self } end end end end class Augmented prepend Client::Mixins::LinkClientDelegate end end
Version data entries
12 entries across 12 versions & 1 rubygems