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.



351
352
353
354
# File 'lib/abide_dev_utils/jira.rb', line 351

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

Instance Attribute Details

#keyObject (readonly)

Returns the value of attribute key.



349
350
351
# File 'lib/abide_dev_utils/jira.rb', line 349

def key
  @key
end

#summaryObject (readonly)

Returns the value of attribute summary.



349
350
351
# File 'lib/abide_dev_utils/jira.rb', line 349

def summary
  @summary
end

Instance Method Details

#attrsObject



356
357
358
359
360
361
# File 'lib/abide_dev_utils/jira.rb', line 356

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

#dummyObject



363
364
365
# File 'lib/abide_dev_utils/jira.rb', line 363

def dummy
  true
end