Class: TxghServer::Webhooks::Git::StatusUpdater

Inherits:
Object
  • Object
show all
Defined in:
lib/txgh-server/webhooks/git/status_updater.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#branchObject (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

#projectObject (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

#repoObject (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