Class: AbideDevUtils::Jira::Dummy
- Inherits:
-
Object
- Object
- AbideDevUtils::Jira::Dummy
- Defined in:
- lib/abide_dev_utils/jira.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#summary ⇒ Object
readonly
Returns the value of attribute summary.
Instance Method Summary collapse
- #attrs ⇒ Object
- #dummy ⇒ Object
-
#initialize(summary = 'dummy summary') ⇒ Dummy
constructor
A new instance of Dummy.
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
#key ⇒ Object (readonly)
Returns the value of attribute key.
349 350 351 |
# File 'lib/abide_dev_utils/jira.rb', line 349 def key @key end |
#summary ⇒ Object (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
#attrs ⇒ Object
356 357 358 359 360 361 |
# File 'lib/abide_dev_utils/jira.rb', line 356 def attrs { 'fields' => { 'project' => 'dummy', 'priority' => 'dummy' } } end |
#dummy ⇒ Object
363 364 365 |
# File 'lib/abide_dev_utils/jira.rb', line 363 def dummy true end |