Class: Bitbuckit::Client

Inherits:
Object
  • Object
show all
Includes:
Commits, Teams, Users, Connection, Default
Defined in:
lib/bitbuckit/client.rb,
lib/bitbuckit/client/teams.rb,
lib/bitbuckit/client/users.rb,
lib/bitbuckit/client/commits.rb

Defined Under Namespace

Modules: Commits, Teams, Users

Constant Summary

Constants included from Default

Default::API_ENDPOINT

Instance Method Summary collapse

Methods included from Users

#user

Methods included from Teams

#team, #team_repositories, #teams

Methods included from Commits

#commits

Methods included from Default

#api_endpoint

Methods included from Connection

#agent, #get, #last_response, #paginate, #post, #put, #root

Methods included from Authentication

#application_authentication

Constructor Details

#initialize(options = {}) ⇒ Client

Returns a new instance of Client.



16
17
18
19
# File 'lib/bitbuckit/client.rb', line 16

def initialize(options = {})
  @access_token = options[:access_token]
  @refresh_token = options[:refresh_token]
end