Class: Resync::Client::Mixins::ClientDelegator::ClientDelegate
- Inherits:
-
Object
- Object
- Resync::Client::Mixins::ClientDelegator::ClientDelegate
- Defined in:
- lib/resync/client/mixins/client_delegator.rb
Overview
Minimal ‘delegate’ wrapper around a specified Resync::Client
Instance Attribute Summary collapse
-
#client ⇒ #client
readonly
The client.
Instance Method Summary collapse
-
#initialize(client) ⇒ ClientDelegate
constructor
Creates a new ClientDelegate wrapping the specified Resync::Client.
Constructor Details
#initialize(client) ⇒ ClientDelegate
Creates a new Resync::Client::Mixins::ClientDelegator::ClientDelegate wrapping the specified Resync::Client
31 32 33 |
# File 'lib/resync/client/mixins/client_delegator.rb', line 31 def initialize(client) @client = client end |
Instance Attribute Details
#client ⇒ #client (readonly)
Returns the client.
27 28 29 |
# File 'lib/resync/client/mixins/client_delegator.rb', line 27 def client @client end |