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.
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
#key ⇒ Object (readonly)
Returns the value of attribute key.
320 321 322 |
# File 'lib/abide_dev_utils/jira.rb', line 320 def key @key end |
#summary ⇒ Object (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
#attrs ⇒ Object
327 328 329 330 331 332 |
# File 'lib/abide_dev_utils/jira.rb', line 327 def attrs { 'fields' => { 'project' => 'dummy', 'priority' => 'dummy' } } end |
#dummy ⇒ Object
334 335 336 |
# File 'lib/abide_dev_utils/jira.rb', line 334 def dummy true end |