From fc34c9560324b7db5bdaf205cbdf46a339102af2 Mon Sep 17 00:00:00 2001 From: Douglas Barbosa Alexandre Date: Mon, 22 Aug 2016 15:42:26 -0300 Subject: Add a Bitbucket client for the OAuth2 API --- lib/bitbucket/client.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lib/bitbucket/client.rb (limited to 'lib/bitbucket/client.rb') diff --git a/lib/bitbucket/client.rb b/lib/bitbucket/client.rb new file mode 100644 index 00000000000..5f48e52da98 --- /dev/null +++ b/lib/bitbucket/client.rb @@ -0,0 +1,11 @@ +module Bitbucket + class Client + def initialize(options = {}) + @connection = options.fetch(:connection, Connection.new(options)) + end + + private + + attr_reader :connection + end +end -- cgit v1.2.1