Class: Bridge::Client

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

Overview

:nodoc: all

Instance Method Summary collapse

Constructor Details

#initialize(bridge, id) ⇒ Client

Returns a new instance of Client.



6
7
8
# File 'lib/client.rb', line 6

def initialize(bridge, id)
  @bridge, @id = bridge, id
end

Instance Method Details

#get_service(svc) ⇒ Object



10
11
12
# File 'lib/client.rb', line 10

def get_service(svc)
  Reference.new(@bridge, ['client', @id, svc])
end