diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-08-22 15:42:26 -0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2016-11-21 16:47:24 -0800 |
commit | fc34c9560324b7db5bdaf205cbdf46a339102af2 (patch) | |
tree | 43fb34121cf343dbc2a08dd8e8d90a4a9f62d945 /lib/bitbucket/client.rb | |
parent | a2ef52b32bd3d1ee70ea333566e330c44e6c9170 (diff) | |
download | gitlab-ce-fc34c9560324b7db5bdaf205cbdf46a339102af2.tar.gz |
Add a Bitbucket client for the OAuth2 API
Diffstat (limited to 'lib/bitbucket/client.rb')
-rw-r--r-- | lib/bitbucket/client.rb | 11 |
1 files changed, 11 insertions, 0 deletions
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 |