Class: AbideDevUtils::Jira::DryRun::DummySubtask

Inherits:
DummyIssue show all
Defined in:
lib/abide_dev_utils/jira/dry_run.rb

Instance Attribute Summary

Attributes inherited from DummyIssue

#key, #summary

Attributes inherited from Dummy

#dummy

Instance Method Summary collapse

Methods inherited from DummyIssue

#labels

Constructor Details

#initialize(summary = 'Dummy Subtask', key = 'DUM-222') ⇒ DummySubtask

Returns a new instance of DummySubtask.



110
111
112
# File 'lib/abide_dev_utils/jira/dry_run.rb', line 110

def initialize(summary = 'Dummy Subtask', key = 'DUM-222')
  super(summary, key)
end

Instance Method Details

#attrsObject



114
115
116
117
118
119
120
121
122
# File 'lib/abide_dev_utils/jira/dry_run.rb', line 114

def attrs
  {
    'fields' => {
      'project' => 'dummy',
      'priority' => 'dummy',
      'parent' => DummyIssue.new,
    },
  }
end