Class: Gitlab::LegacyGithubImport::IssuableFormatter
- Inherits:
-
BaseFormatter
- Object
- BaseFormatter
- Gitlab::LegacyGithubImport::IssuableFormatter
- Defined in:
- lib/gitlab/legacy_github_import/issuable_formatter.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#assignee_id ⇒ Object
writeonly
Sets the attribute assignee_id.
-
#author_id ⇒ Object
writeonly
Sets the attribute author_id.
Attributes inherited from BaseFormatter
#client, #formatter, #project, #raw_data
Instance Method Summary collapse
Methods inherited from BaseFormatter
Constructor Details
This class inherits a constructor from Gitlab::LegacyGithubImport::BaseFormatter
Instance Attribute Details
#assignee_id=(value) ⇒ Object
Sets the attribute assignee_id
6 7 8 |
# File 'lib/gitlab/legacy_github_import/issuable_formatter.rb', line 6 def assignee_id=(value) @assignee_id = value end |
#author_id=(value) ⇒ Object
Sets the attribute author_id
6 7 8 |
# File 'lib/gitlab/legacy_github_import/issuable_formatter.rb', line 6 def (value) @author_id = value end |
Instance Method Details
#find_condition ⇒ Object
16 17 18 |
# File 'lib/gitlab/legacy_github_import/issuable_formatter.rb', line 16 def find_condition { iid: number } end |
#number ⇒ Object
12 13 14 |
# File 'lib/gitlab/legacy_github_import/issuable_formatter.rb', line 12 def number raw_data[:number] end |
#project_association ⇒ Object
8 9 10 |
# File 'lib/gitlab/legacy_github_import/issuable_formatter.rb', line 8 def project_association raise NotImplementedError end |