Module: Resync::Client::Mixins::ClientDelegator
- Included in:
- Downloadable, LinkClientDelegate, ResourceClientDelegate
- Defined in:
- lib/resync/client/mixins/client_delegator.rb
Defined Under Namespace
Classes: ClientDelegate
Instance Attribute Summary collapse
-
#client_delegate ⇒ Object
Returns the value of attribute client_delegate.
Instance Method Summary collapse
- #client ⇒ Object
-
#client=(value) ⇒ Object
Creates a one-off delegate wrapper around the specified Resync::Client.
Instance Attribute Details
#client_delegate ⇒ Object
Returns the value of attribute client_delegate.
12 13 14 |
# File 'lib/resync/client/mixins/client_delegator.rb', line 12 def client_delegate @client_delegate end |
Instance Method Details
#client ⇒ Object
14 15 16 |
# File 'lib/resync/client/mixins/client_delegator.rb', line 14 def client client_delegate.client end |
#client=(value) ⇒ Object
Creates a one-off delegate wrapper around the specified Resync::Client
20 21 22 |
# File 'lib/resync/client/mixins/client_delegator.rb', line 20 def client=(value) @client_delegate = ClientDelegate.new(value) end |