Sha256: c71e1f1fc49d5d030e3fd74e55352507e98483431e3aac59bd52a0d93cabfc87

Contents?: true

Size: 328 Bytes

Versions: 1

Compression:

Stored size: 328 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[
  blob
  commit
  download
  fork
  key
  label
  pull_request
  reference
  repository
  tag
  tree
  watching
].each do |api|
  require_api api
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
github_cli-0.2.0 lib/github_cli/apis.rb