Class: GitReflow::GitServer::PullRequest::Build

Inherits:
Object
  • Object
show all
Defined in:
lib/git_reflow/git_server/pull_request.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#descriptionObject

Returns the value of attribute description.



9
10
11
# File 'lib/git_reflow/git_server/pull_request.rb', line 9

def description
  @description
end

#stateObject

Returns the value of attribute state.



9
10
11
# File 'lib/git_reflow/git_server/pull_request.rb', line 9

def state
  @state
end

#urlObject

Returns the value of attribute url.



9
10
11
# File 'lib/git_reflow/git_server/pull_request.rb', line 9

def url
  @url
end