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.
283 284 285 286 |
# File 'lib/abide_dev_utils/jira.rb', line 283 def initialize(summary = 'dummy summary') @summary = summary @key = 'DUM-111' end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
281 282 283 |
# File 'lib/abide_dev_utils/jira.rb', line 281 def key @key end |
#summary ⇒ Object (readonly)
Returns the value of attribute summary.
281 282 283 |
# File 'lib/abide_dev_utils/jira.rb', line 281 def summary @summary end |
Instance Method Details
#attrs ⇒ Object
288 289 290 291 292 293 |
# File 'lib/abide_dev_utils/jira.rb', line 288 def attrs { 'fields' => { 'project' => 'dummy', 'priority' => 'dummy' } } end |
#dummy ⇒ Object
295 296 297 |
# File 'lib/abide_dev_utils/jira.rb', line 295 def dummy true end |