Module: Korekuto
Instance Method Summary collapse
Instance Method Details
#submit ⇒ Object
22 23 24 25 26 |
# File 'lib/korekuto.rb', line 22 def submit Collector.post('/collect', :body => collect.to_json, :timeout => 2) rescue Timeout::Error :timeout end |