Sha256: dc08153968379b91193973ffd5e7201312c88cecaf514480c39a9c1da0631acf

Contents?: true

Size: 958 Bytes

Versions: 27

Compression:

Stored size: 958 Bytes

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'

    # Creates new GitData API
    def initialize(options = {})
      super(options)
    end

    # Access to GitData::Blobs API
    def blobs
      @blobs ||= ApiFactory.new 'GitData::Blobs'
    end

    # Access to GitData::Commits API
    def commits
      @commits ||= ApiFactory.new 'GitData::Commits'
    end

    # Access to GitData::References API
    def references
      @references ||= ApiFactory.new 'GitData::References'
    end

    # Access to GitData::Tags API
    def tags
      @tags ||= ApiFactory.new 'GitData::Tags'
    end

    # Access to GitData::Tags API
    def trees
      @trees ||= ApiFactory.new 'GitData::Trees'
    end

  end # GitData
end # Github

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
github_api-0.8.11 lib/github_api/git_data.rb
github_api-0.8.10 lib/github_api/git_data.rb
github_api-0.8.9 lib/github_api/git_data.rb
github_api-0.8.8 lib/github_api/git_data.rb
github_api-0.8.7 lib/github_api/git_data.rb
github_api-0.8.6 lib/github_api/git_data.rb
github_api-0.8.5 lib/github_api/git_data.rb
github_api-0.8.4 lib/github_api/git_data.rb
github_api-0.8.3 lib/github_api/git_data.rb
github_api-0.8.2 lib/github_api/git_data.rb
github_api-0.8.1 lib/github_api/git_data.rb
github_api-0.8.0 lib/github_api/git_data.rb
github_api-0.7.2 lib/github_api/git_data.rb
github_api-0.7.1 lib/github_api/git_data.rb
github_api-0.7.0 lib/github_api/git_data.rb
github_api-0.6.5 lib/github_api/git_data.rb
github_api-0.6.4 lib/github_api/git_data.rb
github_api-0.6.3 lib/github_api/git_data.rb
github_api-0.6.2 lib/github_api/git_data.rb
github_api-0.6.1 lib/github_api/git_data.rb