Class: Icalia::CodeMergeRequestEvent
Instance Attribute Summary collapse
Attributes inherited from ModelBase
#serialization_context
Instance Method Summary
collapse
Methods inherited from ModelBase
has_many, has_one, #initialize
#to_key
Instance Attribute Details
#merge_request ⇒ Object
Returns the value of attribute merge_request.
6
7
8
|
# File 'lib/icalia/models/events/code_merge_request_event.rb', line 6
def merge_request
@merge_request
end
|
Instance Method Details
#declined? ⇒ Boolean
11
|
# File 'lib/icalia/models/events/code_merge_request_event.rb', line 11
def declined?; action == 'declined'; end
|
#merged? ⇒ Boolean
10
|
# File 'lib/icalia/models/events/code_merge_request_event.rb', line 10
def merged?; action == 'merged'; end
|
#opened? ⇒ Boolean
8
|
# File 'lib/icalia/models/events/code_merge_request_event.rb', line 8
def opened?; action == 'opened'; end
|
#updated? ⇒ Boolean
9
|
# File 'lib/icalia/models/events/code_merge_request_event.rb', line 9
def updated?; action == 'updated'; end
|