Class: Router

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#clientObject

Associated EventdClient



15
16
17
# File 'lib/shot/router.rb', line 15

def client
  @client
end