Class: Resync::Client::Mixins::ClientDelegator::ClientDelegate

Inherits:
Object
  • Object
show all
Defined in:
lib/resync/client/mixins/client_delegator.rb

Overview

Minimal ‘delegate’ wrapper around a specified Resync::Client

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ ClientDelegate

Parameters:

  • client

    The client to delegate to



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.

Returns:



27
28
29
# File 'lib/resync/client/mixins/client_delegator.rb', line 27

def client
  @client
end