RubyGems Navigation menu

simple_command_dispatcher 4.0.0

Within a services API (rails-api for instance), you may have a need to execute different simple_commands or your own custom commands (service objects) based on one or more factors: multiple application, API version, user type, user credentials, etc. For example, your service API may need to execute either Api::Auth::V1::AuthenticateCommand.call(...) or Api::Auth::V2::AuthenticateCommand.call(...) based on the API version. simple_command_dispatcher allows you to execute either command with one line of code dynamically.

Gemfile:
=

安装:
=

版本列表:

  1. 4.2.0 October 08, 2025 (27.0 KB)
  2. 4.1.0 July 14, 2025 (23.5 KB)
  3. 4.0.0 July 12, 2025 (22.0 KB)
  4. 3.0.4 August 03, 2024 (22.5 KB)
  5. 3.0.3 February 19, 2024 (22.5 KB)
显示所有版本 (共 26 个)

Runtime 依赖 (1):

activesupport >= 7.0.8, < 8.0

所有者:

推送者:

作者:

  • Gene M. Angelo, Jr.

SHA 256 校验和:

=

下载总量 15,930

这个版本 207

版本发布:

许可:

MIT

需要的 Ruby 版本: >= 3.3, < 4.0

链接: