Module: Bitbuckit::Authentication

Included in:
Connection
Defined in:
lib/bitbuckit/authentication.rb

Instance Method Summary collapse

Instance Method Details

#application_authenticationObject



3
4
5
6
7
8
9
10
# File 'lib/bitbuckit/authentication.rb', line 3

def application_authentication
  if @access_token
    {
      access_token: @access_token,
      refresh_token: @refresh_token
    }
  end
end