RubyGems Navigation menu

simple_command_dispatcher 1.2.1

Within a services API (rails-api for instance), you may have a need to execute different SimpleCommands 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 make one call to execute both command dynamically.

Gemfile:
=

install:
=

Versions:

  1. 4.2.0 October 08, 2025 (27 KB)
  2. 4.1.0 July 14, 2025 (23.5 KB)
  3. 4.0.0 July 12, 2025 (22 KB)
  4. 3.0.4 August 03, 2024 (22.5 KB)
  5. 3.0.3 February 19, 2024 (22.5 KB)
  6. 1.2.1 August 31, 2017 (18 KB)
Show all versions (26 total)

Runtime Dependencies (2):

activesupport >= 5.0.0.1, ~> 5.0
simple_command >= 0.0.9

Development Dependencies (6):

bundler ~> 1.13
colorize >= 0
rake ~> 10.0
rdoc >= 0
rspec ~> 3.0
yard >= 0

Owners:

Authors:

  • Gene M. Angelo, Jr.

SHA 256 checksum:

=

Total downloads 16,368

For this version 1,786

Version Released:

License:

MIT

Required Ruby Version: >= 2.2.2

Links: