Sha256: 5e259b601aed63a905d353c06b820ae0758bb7327db846ae9d36a5fcafdd07de

Contents?: true

Size: 249 Bytes

Versions: 2

Compression:

Stored size: 249 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
  repository
  tag
  tree
].each do |api|
  require_api api
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
github_cli-0.1.2 lib/github_cli/apis.rb
github_cli-0.1.1 lib/github_cli/apis.rb