Class: Router
- Inherits:
-
Object
- Object
- Router
- Defined in:
- lib/shot/router.rb
Instance Attribute Summary collapse
-
#client ⇒ Object
Associated EventdClient.
Instance Method Summary collapse
-
#initialize(client) ⇒ Router
constructor
Initialize the Router, and save the passed client.
Constructor Details
#initialize(client) ⇒ Router
Initialize the Router, and save the passed client
Attributes
-
client
- Instance of EventdClient, which the router should handle
23 24 25 |
# File 'lib/shot/router.rb', line 23 def initialize(client) @client = client end |
Instance Attribute Details
#client ⇒ Object
Associated EventdClient
15 16 17 |
# File 'lib/shot/router.rb', line 15 def client @client end |