Class: PipeRpc::Client
- Inherits:
- BasicObject
- Defined in:
- lib/pipe_rpc/client.rb
Defined Under Namespace
Classes: Request
Instance Method Summary collapse
-
#initialize(server = :default, hub) ⇒ Client
constructor
A new instance of Client.
- #is_a?(object) ⇒ Boolean
- #method_missing(method, *args) ⇒ Object (also: #__send__, #send, #public_send)
- #to_s ⇒ Object
Constructor Details
#initialize(server = :default, hub) ⇒ Client
Returns a new instance of Client.
6 7 8 9 |
# File 'lib/pipe_rpc/client.rb', line 6 def initialize(server = :default, hub) @server = server.to_sym @hub = hub end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method