Class: TxghServer::Webhooks::Git::StatusUpdater
- Inherits:
-
Object
- Object
- TxghServer::Webhooks::Git::StatusUpdater
- Defined in:
- lib/txgh-server/webhooks/git/status_updater.rb
Direct Known Subclasses
TxghServer::Webhooks::Github::StatusUpdater, TxghServer::Webhooks::Gitlab::StatusUpdater
Instance Attribute Summary collapse
-
#branch ⇒ Object
readonly
Returns the value of attribute branch.
-
#project ⇒ Object
readonly
Returns the value of attribute project.
-
#repo ⇒ Object
readonly
Returns the value of attribute repo.
Instance Method Summary collapse
-
#initialize(project, repo, branch) ⇒ StatusUpdater
constructor
A new instance of StatusUpdater.
Constructor Details
#initialize(project, repo, branch) ⇒ StatusUpdater
Returns a new instance of StatusUpdater.
7 8 9 10 11 |
# File 'lib/txgh-server/webhooks/git/status_updater.rb', line 7 def initialize(project, repo, branch) @project = project @repo = repo @branch = branch end |
Instance Attribute Details
#branch ⇒ Object (readonly)
Returns the value of attribute branch.
5 6 7 |
# File 'lib/txgh-server/webhooks/git/status_updater.rb', line 5 def branch @branch end |
#project ⇒ Object (readonly)
Returns the value of attribute project.
5 6 7 |
# File 'lib/txgh-server/webhooks/git/status_updater.rb', line 5 def project @project end |
#repo ⇒ Object (readonly)
Returns the value of attribute repo.
5 6 7 |
# File 'lib/txgh-server/webhooks/git/status_updater.rb', line 5 def repo @repo end |