Class: Ace::Git::ProviderPullRequest
- Inherits:
-
Data
- Object
- Data
- Ace::Git::ProviderPullRequest
- Defined in:
- lib/ace/git/providers/evidence.rb
Overview
Normalized evidence types produced by every provider implementation.
Provider packages translate their CLI responses into exactly these shapes, so consumers can stay forge-neutral. All fields except the identifying ones may be nil when a provider cannot supply them.
Pull request state values: :open, :merged, :closed. Issue state values: :open, :closed.
Instance Attribute Summary collapse
-
#author ⇒ Object
readonly
Returns the value of attribute author.
-
#base_ref ⇒ Object
readonly
Returns the value of attribute base_ref.
-
#draft ⇒ Object
readonly
Returns the value of attribute draft.
-
#head_ref ⇒ Object
readonly
Returns the value of attribute head_ref.
-
#head_sha ⇒ Object
readonly
Returns the value of attribute head_sha.
-
#merged_at ⇒ Object
readonly
Returns the value of attribute merged_at.
-
#number ⇒ Object
readonly
Returns the value of attribute number.
-
#server_name ⇒ Object
readonly
Returns the value of attribute server_name.
-
#state ⇒ Object
readonly
Returns the value of attribute state.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Attribute Details
#author ⇒ Object (readonly)
Returns the value of attribute author
13 14 15 |
# File 'lib/ace/git/providers/evidence.rb', line 13 def @author end |
#base_ref ⇒ Object (readonly)
Returns the value of attribute base_ref
13 14 15 |
# File 'lib/ace/git/providers/evidence.rb', line 13 def base_ref @base_ref end |
#draft ⇒ Object (readonly)
Returns the value of attribute draft
13 14 15 |
# File 'lib/ace/git/providers/evidence.rb', line 13 def draft @draft end |
#head_ref ⇒ Object (readonly)
Returns the value of attribute head_ref
13 14 15 |
# File 'lib/ace/git/providers/evidence.rb', line 13 def head_ref @head_ref end |
#head_sha ⇒ Object (readonly)
Returns the value of attribute head_sha
13 14 15 |
# File 'lib/ace/git/providers/evidence.rb', line 13 def head_sha @head_sha end |
#merged_at ⇒ Object (readonly)
Returns the value of attribute merged_at
13 14 15 |
# File 'lib/ace/git/providers/evidence.rb', line 13 def merged_at @merged_at end |
#number ⇒ Object (readonly)
Returns the value of attribute number
13 14 15 |
# File 'lib/ace/git/providers/evidence.rb', line 13 def number @number end |
#server_name ⇒ Object (readonly)
Returns the value of attribute server_name
13 14 15 |
# File 'lib/ace/git/providers/evidence.rb', line 13 def server_name @server_name end |
#state ⇒ Object (readonly)
Returns the value of attribute state
13 14 15 |
# File 'lib/ace/git/providers/evidence.rb', line 13 def state @state end |
#title ⇒ Object (readonly)
Returns the value of attribute title
13 14 15 |
# File 'lib/ace/git/providers/evidence.rb', line 13 def title @title end |
#url ⇒ Object (readonly)
Returns the value of attribute url
13 14 15 |
# File 'lib/ace/git/providers/evidence.rb', line 13 def url @url end |