Class: DynDynDong::Client
- Inherits:
-
Object
- Object
- DynDynDong::Client
- Defined in:
- lib/dyndyndong/client.rb
Class Method Summary collapse
Class Method Details
.start ⇒ Object
26 27 28 29 30 |
# File 'lib/dyndyndong/client.rb', line 26 def self.start DynDynDong::Service.each {|s| s.fetch } end |
.start_loop ⇒ Object
32 33 34 35 36 37 |
# File 'lib/dyndyndong/client.rb', line 32 def self.start_loop while true self.start sleep DynDynDong.delay end end |