Class: Ace::Overseer::CLI::Commands::Review
- Inherits:
-
Support::Cli::Command
- Object
- Support::Cli::Command
- Ace::Overseer::CLI::Commands::Review
- Includes:
- Support::Cli::Base
- Defined in:
- lib/ace/overseer/cli/commands/review.rb
Instance Method Summary collapse
- #call(work:, pr:) ⇒ Object
-
#initialize(client: nil) ⇒ Review
constructor
A new instance of Review.
Constructor Details
Instance Method Details
#call(work:, pr:) ⇒ Object
15 16 17 18 19 |
# File 'lib/ace/overseer/cli/commands/review.rb', line 15 def call(work:, pr:, **) puts @client.call("work", "review", work, "--pr", pr, json: false) rescue => error raise Ace::Support::Cli::Error.new(error.) end |