Class: CiInACan::Build
- Inherits:
-
Object
- Object
- CiInACan::Build
- Defined in:
- lib/ci_in_a_can/build.rb
Instance Attribute Summary collapse
-
#branch ⇒ Object
Returns the value of attribute branch.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#git_ssh ⇒ Object
Returns the value of attribute git_ssh.
-
#id ⇒ Object
Returns the value of attribute id.
-
#local_location ⇒ Object
Returns the value of attribute local_location.
-
#repo ⇒ Object
Returns the value of attribute repo.
-
#sha ⇒ Object
Returns the value of attribute sha.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#branch ⇒ Object
Returns the value of attribute branch.
9 10 11 |
# File 'lib/ci_in_a_can/build.rb', line 9 def branch @branch end |
#created_at ⇒ Object
Returns the value of attribute created_at.
9 10 11 |
# File 'lib/ci_in_a_can/build.rb', line 9 def created_at @created_at end |
#git_ssh ⇒ Object
Returns the value of attribute git_ssh.
9 10 11 |
# File 'lib/ci_in_a_can/build.rb', line 9 def git_ssh @git_ssh end |
#id ⇒ Object
Returns the value of attribute id.
9 10 11 |
# File 'lib/ci_in_a_can/build.rb', line 9 def id @id end |
#local_location ⇒ Object
Returns the value of attribute local_location.
9 10 11 |
# File 'lib/ci_in_a_can/build.rb', line 9 def local_location @local_location end |
#repo ⇒ Object
Returns the value of attribute repo.
9 10 11 |
# File 'lib/ci_in_a_can/build.rb', line 9 def repo @repo end |
#sha ⇒ Object
Returns the value of attribute sha.
9 10 11 |
# File 'lib/ci_in_a_can/build.rb', line 9 def sha @sha end |
Class Method Details
.parse(content) ⇒ Object
13 14 15 |
# File 'lib/ci_in_a_can/build.rb', line 13 def self.parse content GithubBuildParser.new.parse content end |