Class: SnapCi::Project
- Inherits:
-
Object
- Object
- SnapCi::Project
- Defined in:
- lib/snap_ci/project.rb
Instance Attribute Summary collapse
-
#branches ⇒ Object
readonly
Returns the value of attribute branches.
-
#owner ⇒ Object
readonly
Returns the value of attribute owner.
-
#repository ⇒ Object
readonly
Returns the value of attribute repository.
Instance Method Summary collapse
-
#initialize(args, config) ⇒ Project
constructor
A new instance of Project.
- #to_message ⇒ Object
Constructor Details
Instance Attribute Details
#branches ⇒ Object (readonly)
Returns the value of attribute branches.
6 7 8 |
# File 'lib/snap_ci/project.rb', line 6 def branches @branches end |
#owner ⇒ Object (readonly)
Returns the value of attribute owner.
6 7 8 |
# File 'lib/snap_ci/project.rb', line 6 def owner @owner end |
#repository ⇒ Object (readonly)
Returns the value of attribute repository.
6 7 8 |
# File 'lib/snap_ci/project.rb', line 6 def repository @repository end |
Instance Method Details
#to_message ⇒ Object
15 16 17 |
# File 'lib/snap_ci/project.rb', line 15 def "Project: #{owner}/#{repository}:\n" + pipelines_to_s end |