Class: GitReflow::GitServer::PullRequest::Build
- Inherits:
-
Object
- Object
- GitReflow::GitServer::PullRequest::Build
- Defined in:
- lib/git_reflow/git_server/pull_request.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#state ⇒ Object
Returns the value of attribute state.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(state: nil, description: nil, url: nil) ⇒ Build
constructor
A new instance of Build.
Constructor Details
#initialize(state: nil, description: nil, url: nil) ⇒ Build
Returns a new instance of Build.
11 12 13 14 15 |
# File 'lib/git_reflow/git_server/pull_request.rb', line 11 def initialize(state: nil, description: nil, url: nil) self.state = state self.description = description self.url = url end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
9 10 11 |
# File 'lib/git_reflow/git_server/pull_request.rb', line 9 def description @description end |
#state ⇒ Object
Returns the value of attribute state.
9 10 11 |
# File 'lib/git_reflow/git_server/pull_request.rb', line 9 def state @state end |
#url ⇒ Object
Returns the value of attribute url.
9 10 11 |
# File 'lib/git_reflow/git_server/pull_request.rb', line 9 def url @url end |