Class: Cp8Cli::PullRequestBody
- Inherits:
- 
      Object
      
        - Object
- Cp8Cli::PullRequestBody
 
- Defined in:
- lib/cp8_cli/pull_request_body.rb
Instance Method Summary collapse
- 
  
    
      #initialize(story)  ⇒ PullRequestBody 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of PullRequestBody. 
- #run ⇒ Object
Constructor Details
#initialize(story) ⇒ PullRequestBody
Returns a new instance of PullRequestBody.
| 3 4 5 | # File 'lib/cp8_cli/pull_request_body.rb', line 3 def initialize(story) @story = story end | 
Instance Method Details
#run ⇒ Object
| 7 8 9 10 11 | # File 'lib/cp8_cli/pull_request_body.rb', line 7 def run return if story.summary.blank? summary_with_release_note end |