Module: BitbucketApi

Includes:
HTTParty
Defined in:
lib/bitbucket_api.rb,
lib/bitbucket_api/version.rb

Constant Summary collapse

VERSION =
"0.0.1"
@@URL =
"https://api.bitbucket.org/1.0/"

Class Method Summary collapse

Class Method Details

.get_user(user_id) ⇒ Object



7
8
9
# File 'lib/bitbucket_api.rb', line 7

def self.get_user(user_id)
  get(@@URL + "users/#{user_id}")
end