diff options
author | Stan Hu <stanhu@gmail.com> | 2018-08-01 20:44:45 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-08-01 20:45:04 +0300 |
commit | aa5821e571620e09229721a1a235d93a554db6a3 (patch) | |
tree | e076faa082797f700e04f1920478f1e0d4f723d6 /lib/bitbucket_server/connection.rb | |
parent | 636bcebcba5d9215e550f4ca7ba7c75404e06ba9 (diff) |
Assorted Bitbucket Server importer code cleanup based on review
Diffstat (limited to 'lib/bitbucket_server/connection.rb')
-rw-r--r-- | lib/bitbucket_server/connection.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/bitbucket_server/connection.rb b/lib/bitbucket_server/connection.rb index a3150cc38d5..45a437844bd 100644 --- a/lib/bitbucket_server/connection.rb +++ b/lib/bitbucket_server/connection.rb @@ -12,10 +12,10 @@ module BitbucketServer ConnectionError = Class.new(StandardError) def initialize(options = {}) - @api_version = options.fetch(:api_version, DEFAULT_API_VERSION) - @base_uri = options[:base_uri] - @username = options[:user] - @token = options[:password] + @api_version = options.fetch(:api_version, DEFAULT_API_VERSION) + @base_uri = options[:base_uri] + @username = options[:user] + @token = options[:password] end def get(path, extra_query = {}) |