Class: Cp8Cli::PullRequest
- Inherits:
-
Object
- Object
- Cp8Cli::PullRequest
- Defined in:
- lib/cp8_cli/pull_request.rb
Instance Method Summary collapse
-
#initialize(from:, target:, story: nil, **options) ⇒ PullRequest
constructor
A new instance of PullRequest.
- #open ⇒ Object
Constructor Details
#initialize(from:, target:, story: nil, **options) ⇒ PullRequest
Returns a new instance of PullRequest.
5 6 7 8 9 10 |
# File 'lib/cp8_cli/pull_request.rb', line 5 def initialize(from:, target:, story: nil, **) @story = story @from = from @target = target = end |
Instance Method Details
#open ⇒ Object
12 13 14 |
# File 'lib/cp8_cli/pull_request.rb', line 12 def open Command.open_url url end |