Skip to content

Commit 7522592

Browse files
committed
Change to load api dependency
1 parent 1d486e8 commit 7522592

67 files changed

Lines changed: 134 additions & 1 deletion

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

lib/github_api/client/activity.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# encoding: utf-8
22

3+
require_relative '../api'
4+
35
module Github
46
class Client::Activity < API
57

lib/github_api/client/activity/events.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# encoding: utf-8
22

3+
require_relative '../../api'
4+
35
module Github
46
class Client::Activity::Events < API
57
# List all public events

lib/github_api/client/activity/feeds.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# encoding: utf-8
22

3+
require_relative '../../api'
4+
35
module Github
46
class Client::Activity::Feeds < API
57
# List all the feeds available to the authenticated user.

lib/github_api/client/activity/notifications.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# encoding: utf-8
22

3+
require_relative '../../api'
4+
35
module Github
46
class Client::Activity::Notifications < API
57
# List your notifications

lib/github_api/client/activity/starring.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# encoding: utf-8
22

3+
require_relative '../../api'
4+
35
module Github
46
# Repository Starring is a feature that lets users bookmark repositories.
57
# Stars are shown next to repositories to show an approximate level of interest.

lib/github_api/client/activity/watching.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# encoding: utf-8
22

3+
require_relative '../../api'
4+
35
module Github
46
# Watching a Repository registers the user to receive notificactions on new
57
# discussions, as well as events in the user's activity feed.

lib/github_api/client/authorizations.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# encoding: utf-8
22

3+
require_relative '../api'
4+
35
module Github
46
# OAuth Authorizations API
57
class Client::Authorizations < API

lib/github_api/client/authorizations/app.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# encoding: utf-8
22

3+
require_relative '../../api'
4+
35
module Github
46
class Client::Authorizations::App < Client::Authorizations
57
# Get-or-create an authorization for a specific app

lib/github_api/client/emojis.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# encoding: utf-8
22

3+
require_relative '../api'
4+
35
module Github
46
class Client::Emojis < API
57
# Lists all the emojis.

lib/github_api/client/gists.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# encoding: utf-8
22

3+
require_relative '../api'
4+
35
module Github
46
class Client::Gists < API
57

0 commit comments

Comments
 (0)