Class: SupportOps::GitLab::MergeRequestDiffs
- Defined in:
- lib/support_ops_gitlab/gitlab/merge_request_diffs.rb
Overview
Defines the class MergeRequestDiffs within the module SupportOps::GitLab.
Instance Attribute Summary collapse
-
#a_mode ⇒ String
Old file mode of the file.
-
#b_mode ⇒ String
New file mode of the file.
-
#deleted_file ⇒ Boolean
Indicates if the file has been removed.
-
#diff ⇒ String
Diff representation of the changes made to the file.
-
#generated_file ⇒ Boolean
Indicates if the file is marked as generated.
-
#new_file ⇒ Boolean
Indicates if the file has just been added.
-
#new_path ⇒ String
New path of the file.
-
#old_path ⇒ String
Old path of the file.
-
#renamed_file ⇒ Boolean
Indicates if the file has been renamed.
Method Summary
Methods inherited from Base
#activate!, #approve!, attributes, #badges, #ban!, #block!, client, #client=, #commits, configure, #contributors, #create_support_pin!, #deactivate!, define_attributes, #delete!, #diffs, #disable_2fa!, #discussions, #emails, #encoded_path, #events, #find, #find!, #gpg_keys, #hard_delete!, #impersonations, #initialize, #issues, #jobs, #latest_pipeline, #members, #memberships, #merge_requests, #move!, #notes, #paid?, #pats, #pipeline_variables, #pipelines, #preferences, #projects, readonly_attributes, #reject!, #revoke!, #rotate!, #save!, #ssh_keys, #status, #store_original_attributes, #subscribe!, #support_pin, to_hash, #tokens, #unban!, #unblock!, #unsubscribe!, #webhooks
Constructor Details
This class inherits a constructor from SupportOps::GitLab::Base
Instance Attribute Details
#a_mode ⇒ String
Old file mode of the file
21 22 23 |
# File 'lib/support_ops_gitlab/gitlab/merge_request_diffs.rb', line 21 def a_mode @a_mode end |
#b_mode ⇒ String
New file mode of the file
21 22 23 |
# File 'lib/support_ops_gitlab/gitlab/merge_request_diffs.rb', line 21 def b_mode @b_mode end |
#deleted_file ⇒ Boolean
Indicates if the file has been removed
21 22 23 |
# File 'lib/support_ops_gitlab/gitlab/merge_request_diffs.rb', line 21 def deleted_file @deleted_file end |
#diff ⇒ String
Diff representation of the changes made to the file
21 22 23 |
# File 'lib/support_ops_gitlab/gitlab/merge_request_diffs.rb', line 21 def diff @diff end |
#generated_file ⇒ Boolean
Indicates if the file is marked as generated
21 22 23 |
# File 'lib/support_ops_gitlab/gitlab/merge_request_diffs.rb', line 21 def generated_file @generated_file end |
#new_file ⇒ Boolean
Indicates if the file has just been added
21 22 23 |
# File 'lib/support_ops_gitlab/gitlab/merge_request_diffs.rb', line 21 def new_file @new_file end |
#new_path ⇒ String
New path of the file
21 22 23 |
# File 'lib/support_ops_gitlab/gitlab/merge_request_diffs.rb', line 21 def new_path @new_path end |
#old_path ⇒ String
Old path of the file
21 22 23 |
# File 'lib/support_ops_gitlab/gitlab/merge_request_diffs.rb', line 21 def old_path @old_path end |
#renamed_file ⇒ Boolean
Indicates if the file has been renamed
21 22 23 |
# File 'lib/support_ops_gitlab/gitlab/merge_request_diffs.rb', line 21 def renamed_file @renamed_file end |