Sha256: 072fd229d78e548403efd2d386b82e983b18bd8a172eadb7eb872491f1c45ab7

Contents?: true

Size: 469 Bytes

Versions: 2

Compression:

Stored size: 469 Bytes

Contents

if defined?(require_relative)
  def require_api(path)
    require_relative "apis/#{path}"
  end
else
  def require_api(path)
    require "github_cli/apis/#{path}"
  end
end

%w[
  authorization
  blob
  collaborator
  commit
  content
  download
  email
  follower
  fork
  gist
  hook
  issue
  key
  label
  member
  milestone
  organization
  pull_request
  reference
  repository
  search
  tag
  team
  tree
  user
  watching
].each do |api|
  require_api api
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
github_cli-0.4.2 lib/github_cli/apis.rb
github_cli-0.4.1 lib/github_cli/apis.rb