summaryrefslogtreecommitdiff
path: root/lib/gitlab_excon.rb
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2017-01-02 18:59:07 +0100
committerJacob Vosmaer <jacob@gitlab.com>2017-01-02 18:59:07 +0100
commitd03e022b8816fd4193ff7a0a34e35573e8114e7f (patch)
tree1896a5c90f0eb99ecaa5fc09304cee7174657943 /lib/gitlab_excon.rb
parent3fe9cea03a6384fd8f57f10e172c134ed5c0552d (diff)
downloadgitlab-shell-http-excon.tar.gz
WIP Use excon for HTTP requestshttp-excon
Diffstat (limited to 'lib/gitlab_excon.rb')
-rw-r--r--lib/gitlab_excon.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab_excon.rb b/lib/gitlab_excon.rb
new file mode 100644
index 0000000..f8908e9
--- /dev/null
+++ b/lib/gitlab_excon.rb
@@ -0,0 +1,2 @@
+$:.unshift(File.expand_path(File.join(File.dirname(__FILE__), 'vendor/excon/lib')))
+require 'excon'