Class: Dude::Commands::PR::Create
- Inherits:
-
Dry::CLI::Command
- Object
- Dry::CLI::Command
- Dude::Commands::PR::Create
- Defined in:
- lib/dude/commands/pr/create.rb
Instance Method Summary collapse
Instance Method Details
#call(id:) ⇒ Object
13 14 15 16 17 |
# File 'lib/dude/commands/pr/create.rb', line 13 def call(id:) @id = id client = CodeManagement::Github::Client.new client.create_pull_request(issue: issue, owner: owner, repo: repo, params: params) end |