Sha256: 43489c90fe75f425ea5a35ab5a99cfb7ab088cf828960c23afc0f61a1a6ea6bb
Contents?: true
Size: 1.05 KB
Versions: 2
Compression:
Stored size: 1.05 KB
Contents
# encoding: utf-8 module Github class GitData < API Github::require_all 'github_api/git_data', 'blobs', 'commits', 'references', 'tags', '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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
github_api-0.11.3 | lib/github_api/git_data.rb |
github_api-0.11.2 | lib/github_api/git_data.rb |