Class: Headsail::Client
- Inherits:
-
Object
- Object
- Headsail::Client
- Defined in:
- lib/headsail/client.rb
Overview
The main event loop for retrieving data from APIS
Instance Method Summary collapse
-
#initialize(configure) ⇒ Client
constructor
A new instance of Client.
- #run ⇒ Object
Constructor Details
#initialize(configure) ⇒ Client
Returns a new instance of Client.
7 8 9 10 11 12 |
# File 'lib/headsail/client.rb', line 7 def initialize(configure) @configure = configure @threads = [] @tasks = [] setup_tasks end |