Class: Worklog::Github::PullRequestDetails
- Inherits:
-
Struct
- Object
- Struct
- Worklog::Github::PullRequestDetails
- Defined in:
- lib/github/pull_request_details.rb
Overview
Details of a pull request, used internally
Instance Attribute Summary collapse
-
#closed_at ⇒ Object
Returns the value of attribute closed_at.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#creator ⇒ Object
Returns the value of attribute creator.
-
#description ⇒ Object
Returns the value of attribute description.
-
#merged ⇒ Object
Returns the value of attribute merged.
-
#merged_at ⇒ Object
Returns the value of attribute merged_at.
-
#state ⇒ Object
Returns the value of attribute state.
-
#title ⇒ Object
Returns the value of attribute title.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
Instance Attribute Details
#closed_at ⇒ Object
Returns the value of attribute closed_at
6 7 8 |
# File 'lib/github/pull_request_details.rb', line 6 def closed_at @closed_at end |
#created_at ⇒ Object
Returns the value of attribute created_at
6 7 8 |
# File 'lib/github/pull_request_details.rb', line 6 def created_at @created_at end |
#creator ⇒ Object
Returns the value of attribute creator
6 7 8 |
# File 'lib/github/pull_request_details.rb', line 6 def creator @creator end |
#description ⇒ Object
Returns the value of attribute description
6 7 8 |
# File 'lib/github/pull_request_details.rb', line 6 def description @description end |
#merged ⇒ Object
Returns the value of attribute merged
6 7 8 |
# File 'lib/github/pull_request_details.rb', line 6 def merged @merged end |
#merged_at ⇒ Object
Returns the value of attribute merged_at
6 7 8 |
# File 'lib/github/pull_request_details.rb', line 6 def merged_at @merged_at end |
#state ⇒ Object
Returns the value of attribute state
6 7 8 |
# File 'lib/github/pull_request_details.rb', line 6 def state @state end |
#title ⇒ Object
Returns the value of attribute title
6 7 8 |
# File 'lib/github/pull_request_details.rb', line 6 def title @title end |
#url ⇒ Object
Returns the value of attribute url
6 7 8 |
# File 'lib/github/pull_request_details.rb', line 6 def url @url end |
Instance Method Details
#merged? ⇒ Boolean
8 9 10 |
# File 'lib/github/pull_request_details.rb', line 8 def merged? state == 'closed' && merged == true end |