Skip to content

Commit

Permalink
#59 doc
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Aug 10, 2024
1 parent e2d33b4 commit cc624bc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/fbe/octo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,15 @@
require_relative 'middleware'
require_relative 'middleware/quota'

# Interface to GitHub API.
#
# It is supposed to be used instead of Octokit client, because it
# is pre-configured and enables additional fearues, such as retrying,
# logging, and caching.
#
# @param [Judges::Options] options The options available globally
# @param [Hash] global Hash of global options
# @param [Loog] loog Logging facility
def Fbe.octo(options: $options, global: $global, loog: $loog)
raise 'The $global is not set' if global.nil?
global[:octo] ||=
Expand Down

0 comments on commit cc624bc

Please sign in to comment.