Class: AbideDevUtils::Jira::DryRun::DummyIssue
- Defined in:
- lib/abide_dev_utils/jira/dry_run.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#summary ⇒ Object
readonly
Returns the value of attribute summary.
Attributes inherited from Dummy
Instance Method Summary collapse
- #attrs ⇒ Object
-
#initialize ⇒ DummyIssue
constructor
A new instance of DummyIssue.
Constructor Details
#initialize ⇒ DummyIssue
Returns a new instance of DummyIssue.
88 89 90 91 92 |
# File 'lib/abide_dev_utils/jira/dry_run.rb', line 88 def initialize super @summary = 'Dummy Issue' @key = 'DUM-111' end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
86 87 88 |
# File 'lib/abide_dev_utils/jira/dry_run.rb', line 86 def key @key end |
#summary ⇒ Object (readonly)
Returns the value of attribute summary.
86 87 88 |
# File 'lib/abide_dev_utils/jira/dry_run.rb', line 86 def summary @summary end |
Instance Method Details
#attrs ⇒ Object
94 95 96 97 98 99 100 101 |
# File 'lib/abide_dev_utils/jira/dry_run.rb', line 94 def attrs { 'fields' => { 'project' => 'dummy', 'priority' => 'dummy', }, } end |