Skip to content

Commit

Permalink
Add alias.
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrmurach committed Jun 27, 2016
1 parent 3e3b9fc commit b7efe31
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions lib/github_api/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,25 @@

module Github
class Client < API

require_all 'github_api/client',
'activity',
'authorizations',
'emojis',
'gists',
'gitignore',
'git_data',
'issues',
'markdown',
'meta',
'orgs',
'pull_requests',
'repos',
'say',
'scopes',
'search',
'users'

# Serving up the social in Social Coding, the Activity APIs
'activity',
'authorizations',
'emojis',
'gists',
'gitignore',
'git_data',
'issues',
'markdown',
'meta',
'orgs',
'pull_requests',
'repos',
'say',
'scopes',
'search',
'users'

# Serving up the 'social' in Social Coding, the Activity APIs
# provide access to notifications, subscriptions, and timelines.
namespace :activity

Expand All @@ -48,6 +47,7 @@ class Client < API
# tokens, and only through Basic Authentication.
namespace :authorizations
alias :oauth :authorizations
alias :auth :authorizations

namespace :orgs
alias :organizations :orgs
Expand Down

0 comments on commit b7efe31

Please sign in to comment.