Method: Bitbucket::Connection#connection
- Defined in:
- lib/bitbucket/connection.rb
#connection ⇒ Object
17 18 19 20 21 22 23 |
# File 'lib/bitbucket/connection.rb', line 17 def connection @connection ||= if api_connection? Bitbucket::ApiConnection.new() else Bitbucket::OauthConnection.new() end end |