Class: Cp8Cli::PullRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/cp8_cli/pull_request.rb

Instance Method Summary collapse

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, **options)
  @story = story
  @from = from
  @target = target
  @options = options
end

Instance Method Details

#openObject



12
13
14
# File 'lib/cp8_cli/pull_request.rb', line 12

def open
  Command.open_url url
end