Class: BuildkiteGraphqlRuby::Commands::CommandMap
- Inherits:
-
Object
- Object
- BuildkiteGraphqlRuby::Commands::CommandMap
- Defined in:
- lib/buildkite_graphql_ruby/commands/command_map.rb
Constant Summary collapse
- COMMAND_MAP =
{ 'branch_status' => BranchStatus, 'pull_artifacts' => PullArtifacts }
Class Method Summary collapse
Class Method Details
.get_command(command_string:) ⇒ Object
12 13 14 |
# File 'lib/buildkite_graphql_ruby/commands/command_map.rb', line 12 def self.get_command(command_string:) COMMAND_MAP.fetch(command_string).new end |