Class: Status::Github::Statuses
- Inherits:
-
Object
- Object
- Status::Github::Statuses
- Defined in:
- lib/status/github/statuses.rb
Instance Method Summary collapse
-
#initialize(qa_status, branch, user_sha = nil) ⇒ Statuses
constructor
A new instance of Statuses.
- #request ⇒ Object
Constructor Details
#initialize(qa_status, branch, user_sha = nil) ⇒ Statuses
Returns a new instance of Statuses.
6 7 8 9 10 11 |
# File 'lib/status/github/statuses.rb', line 6 def initialize(qa_status, branch, user_sha=nil) @qa_status = qa_status @branch = branch @user_sha = user_sha @jenkins = Jenkins.new(branch, sha) end |