Class: Cp8Cli::Github::Issue
- Includes:
- Api::Client
- Defined in:
- lib/cp8_cli/github/issue.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(number:, repo:, **attributes) ⇒ Issue
constructor
A new instance of Issue.
- #summary ⇒ Object
- #title ⇒ Object
Methods included from Api::Client
Methods inherited from Story
Constructor Details
#initialize(number:, repo:, **attributes) ⇒ Issue
Returns a new instance of Issue.
10 11 12 13 14 |
# File 'lib/cp8_cli/github/issue.rb', line 10 def initialize(number:, repo:, **attributes) @number = number @repo = repo @attributes = attributes end |
Class Method Details
Instance Method Details
#summary ⇒ Object
26 27 28 |
# File 'lib/cp8_cli/github/issue.rb', line 26 def summary "Closes #{short_link}" end |
#title ⇒ Object
22 23 24 |
# File 'lib/cp8_cli/github/issue.rb', line 22 def title attributes[:title] end |