Class: GitData
- Inherits:
-
Object
- Object
- GitData
- Defined in:
- lib/github/gitdata/gitdata.rb
Instance Attribute Summary collapse
-
#blobs ⇒ Object
Returns the value of attribute blobs.
-
#commits ⇒ Object
Returns the value of attribute commits.
-
#github ⇒ Object
Returns the value of attribute github.
-
#references ⇒ Object
Returns the value of attribute references.
-
#tags ⇒ Object
Returns the value of attribute tags.
-
#trees ⇒ Object
Returns the value of attribute trees.
Instance Method Summary collapse
-
#initialize(github) ⇒ GitData
constructor
A new instance of GitData.
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
#blobs ⇒ Object
Returns the value of attribute blobs.
2 3 4 |
# File 'lib/github/gitdata/gitdata.rb', line 2 def blobs @blobs end |
#commits ⇒ Object
Returns the value of attribute commits.
2 3 4 |
# File 'lib/github/gitdata/gitdata.rb', line 2 def commits @commits end |
#github ⇒ Object
Returns the value of attribute github.
2 3 4 |
# File 'lib/github/gitdata/gitdata.rb', line 2 def github @github end |
#references ⇒ Object
Returns the value of attribute references.
2 3 4 |
# File 'lib/github/gitdata/gitdata.rb', line 2 def references @references end |
#tags ⇒ Object
Returns the value of attribute tags.
2 3 4 |
# File 'lib/github/gitdata/gitdata.rb', line 2 def @tags end |
#trees ⇒ Object
Returns the value of attribute trees.
2 3 4 |
# File 'lib/github/gitdata/gitdata.rb', line 2 def trees @trees end |