lib/octokit/client/repository_invitations.rb in octokit-4.24.0 vs lib/octokit/client/repository_invitations.rb in octokit-4.25.0
- old
+ new
@@ -1,13 +1,13 @@
+# frozen_string_literal: true
+
module Octokit
class Client
-
# Methods for the Repository Invitations API
#
# @see https://developer.github.com/v3/repos/invitations/
module RepositoryInvitations
-
# Invite a user to a repository
#
# Requires authenticated client
#
# @param repo [Integer, String, Hash, Repository] A GitHub repository
@@ -62,10 +62,10 @@
# Requires authenticated client
#
# @return [Array<Sawyer::Resource>] The users repository invitations
# @see https://developer.github.com/v3/repos/invitations/#list-a-users-repository-invitations
def user_repository_invitations(options = {})
- paginate "/user/repository_invitations", options
+ paginate '/user/repository_invitations', options
end
alias user_repo_invitations user_repository_invitations
# Accept a repository invitation
#