Class: AbideDevUtils::Jira::Dummy

Inherits:
Object
  • Object
show all
Defined in:
lib/abide_dev_utils/jira.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(summary = 'dummy summary') ⇒ Dummy

Returns a new instance of Dummy.



322
323
324
325
# File 'lib/abide_dev_utils/jira.rb', line 322

def initialize(summary = 'dummy summary')
  @summary = summary
  @key = 'DUM-111'
end

Instance Attribute Details

#keyObject (readonly)

Returns the value of attribute key.



320
321
322
# File 'lib/abide_dev_utils/jira.rb', line 320

def key
  @key
end

#summaryObject (readonly)

Returns the value of attribute summary.



320
321
322
# File 'lib/abide_dev_utils/jira.rb', line 320

def summary
  @summary
end

Instance Method Details

#attrsObject



327
328
329
330
331
332
# File 'lib/abide_dev_utils/jira.rb', line 327

def attrs
  { 'fields' => {
    'project' => 'dummy',
    'priority' => 'dummy'
  } }
end

#dummyObject



334
335
336
# File 'lib/abide_dev_utils/jira.rb', line 334

def dummy
  true
end