Sha256: fbbab81374962f9ec4e3ddf7d9e5e29f5ee0b28312d83fce1c187a07222e36d6
Contents?: true
Size: 1.14 KB
Versions: 13
Compression:
Stored size: 1.14 KB
Contents
# encoding: utf-8 module Github class GitData < API extend AutoloadHelper autoload_all 'github_api/git_data', :Blobs => 'blobs', :Commits => 'commits', :References => 'references', :Tags => 'tags', :Trees => 'trees' # Access to GitData::Blobs API def blobs(options={}, &block) @blobs ||= ApiFactory.new('GitData::Blobs', current_options.merge(options), &block) end # Access to GitData::Commits API def commits(options={}, &block) @commits ||= ApiFactory.new('GitData::Commits', current_options.merge(options), &block) end # Access to GitData::References API def references(options={}, &block) @references ||= ApiFactory.new('GitData::References', current_options.merge(options), &block) end # Access to GitData::Tags API def tags(options={}, &block) @tags ||= ApiFactory.new('GitData::Tags', current_options.merge(options), &block) end # Access to GitData::Tags API def trees(options={}, &block) @trees ||= ApiFactory.new('GitData::Trees', current_options.merge(options), &block) end end # GitData end # Github
Version data entries
13 entries across 13 versions & 1 rubygems