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.
223 224 225 226 |
# File 'lib/abide_dev_utils/jira.rb', line 223 def initialize(summary = 'dummy summary') @summary = summary @key = 'DUM-111' end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
221 222 223 |
# File 'lib/abide_dev_utils/jira.rb', line 221 def key @key end |
#summary ⇒ Object (readonly)
Returns the value of attribute summary.
221 222 223 |
# File 'lib/abide_dev_utils/jira.rb', line 221 def summary @summary end |
Instance Method Details
#attrs ⇒ Object
228 229 230 231 232 233 |
# File 'lib/abide_dev_utils/jira.rb', line 228 def attrs { 'fields' => { 'project' => 'dummy', 'priority' => 'dummy' } } end |
#dummy ⇒ Object
235 236 237 |
# File 'lib/abide_dev_utils/jira.rb', line 235 def dummy true end |