summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/dashing8
1 files changed, 0 insertions, 8 deletions
diff --git a/bin/dashing b/bin/dashing
index 8c7e348..30824ce 100755
--- a/bin/dashing
+++ b/bin/dashing
@@ -11,14 +11,6 @@ class MockScheduler
end
end
-def send_event(id, data)
- req = Net::HTTP::Post.new("/widgets/#{id}")
- req["content-type"] = "application/json"
- req.body = JSON.unparse(data.merge(:auth_token => Dashing::CLI.auth_token))
- res = Net::HTTP.new('localhost', 3030).start { |http| http.request(req) }
- puts "Data Sent to #{id}: #{data}"
-end
-
SCHEDULER = MockScheduler.new
module Dashing