Module: Resync::Client::Mixins::LinkClientDelegate

Includes:
ClientDelegator
Included in:
Augmented
Defined in:
lib/resync/client/mixins/link_client_delegate.rb

Overview

A link container that is capable of providing those resources with a Resync::Client

Instance Attribute Summary

Attributes included from ClientDelegator

#client_delegate

Instance Method Summary collapse

Methods included from ClientDelegator

#client, #client=

Instance Method Details

#links=(value) ⇒ Object

Sets this object as the client provider delegate for each link.

Parameters:

  • value (Array<Link>)

    the links for this list



13
14
15
16
# File 'lib/resync/client/mixins/link_client_delegate.rb', line 13

def links=(value)
  super
  links.each { |l| l.client_delegate = self }
end