RubyGems Navigation menu

simple_command_dispatcher 3.0.3

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. 3.0.3 - February 19, 2024 (22.5 KB)
  2. 3.0.2 - February 01, 2024 (22.5 KB)
  3. 3.0.1 - January 07, 2024 (22.5 KB)
  4. 3.0.0 - December 28, 2023 (22.0 KB)
  5. 2.0.1 - December 02, 2023 (22.0 KB)
显示所有版本 (共 22 个)

Runtime 依赖 (2):

activesupport >= 7.0.8, < 8.0
simple_command ~> 1.0, >= 1.0.1

业主:

推送:

作者:

  • Gene M. Angelo, Jr.

SHA 256 校验和:

f7e3f2ff3fa8a98bba5db0e613c317c090d95dbdd187bba7876df63c1ee48588

下载总量 10,996

这个版本 212

许可:

MIT

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

链接: