Class: AbideDevUtils::Jira::DryRun::DummyIssue
- Defined in:
 - lib/abide_dev_utils/jira/dry_run.rb
 
Direct Known Subclasses
Instance Attribute Summary collapse
- 
  
    
      #key  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute key.
 - 
  
    
      #summary  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute summary.
 
Attributes inherited from Dummy
Instance Method Summary collapse
- #attrs ⇒ Object
 - 
  
    
      #initialize(summary = 'Dummy Issue', key = 'DUM-111')  ⇒ DummyIssue 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of DummyIssue.
 - #labels ⇒ Object
 
Constructor Details
#initialize(summary = 'Dummy Issue', key = 'DUM-111') ⇒ DummyIssue
Returns a new instance of DummyIssue.
      89 90 91 92 93  | 
    
      # File 'lib/abide_dev_utils/jira/dry_run.rb', line 89 def initialize(summary = 'Dummy Issue', key = 'DUM-111') super @summary = summary @key = key end  | 
  
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
      87 88 89  | 
    
      # File 'lib/abide_dev_utils/jira/dry_run.rb', line 87 def key @key end  | 
  
#summary ⇒ Object (readonly)
Returns the value of attribute summary.
      87 88 89  | 
    
      # File 'lib/abide_dev_utils/jira/dry_run.rb', line 87 def summary @summary end  | 
  
Instance Method Details
#attrs ⇒ Object
      99 100 101 102 103 104 105 106  | 
    
      # File 'lib/abide_dev_utils/jira/dry_run.rb', line 99 def attrs { 'fields' => { 'project' => 'dummy', 'priority' => 'dummy', }, } end  | 
  
#labels ⇒ Object
      95 96 97  | 
    
      # File 'lib/abide_dev_utils/jira/dry_run.rb', line 95 def labels @labels ||= ['abide_dev_utils'] end  |