Class: GitData

Inherits:
Object
  • Object
show all
Defined in:
lib/github/gitdata/gitdata.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(github) ⇒ GitData

Returns a new instance of GitData.



4
5
6
7
8
9
10
11
# File 'lib/github/gitdata/gitdata.rb', line 4

def initialize(github)
  @github = github
  @blobs = GitDataBlobs.new(github)
  @commits = GitDataCommits.new(github)
  @references = GitDataReferences.new(github)
  @tags = GitDataTags.new(github)
  @trees = GitDataTrees.new(github)
end

Instance Attribute Details

#blobsObject

Returns the value of attribute blobs.



2
3
4
# File 'lib/github/gitdata/gitdata.rb', line 2

def blobs
  @blobs
end

#commitsObject

Returns the value of attribute commits.



2
3
4
# File 'lib/github/gitdata/gitdata.rb', line 2

def commits
  @commits
end

#githubObject

Returns the value of attribute github.



2
3
4
# File 'lib/github/gitdata/gitdata.rb', line 2

def github
  @github
end

#referencesObject

Returns the value of attribute references.



2
3
4
# File 'lib/github/gitdata/gitdata.rb', line 2

def references
  @references
end

#tagsObject

Returns the value of attribute tags.



2
3
4
# File 'lib/github/gitdata/gitdata.rb', line 2

def tags
  @tags
end

#treesObject

Returns the value of attribute trees.



2
3
4
# File 'lib/github/gitdata/gitdata.rb', line 2

def trees
  @trees
end