Module: Bitbucket
- Defined in:
- lib/bitbucket.rb
Defined Under Namespace
Classes: Base, Changesets, Configuration, Repository, User
Class Method Summary collapse
Class Method Details
.config ⇒ Object
9 10 11 |
# File 'lib/bitbucket.rb', line 9 def config Bitbucket::Configuration.instance end |
.default_auth_options ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/bitbucket.rb', line 13 def if self.config.token.nil? return {username: self.config.username, password: self.config.password} else return {token: self.config.token, secret: self.config.secret} end end |