Ecosyste.ms: Repos

An open API service providing repository metadata for many open source software ecosystems.

Package Usage: rubygems: simple_command_dispatcher

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.
7 versions
Latest release: about 1 year ago
8,047 downloads total

View more package details: https://packages.ecosyste.ms/registries/rubygems.org/packages/simple_command_dispatcher

View more repository details: https://repos.ecosyste.ms/hosts/GitHub/repositories/gangelo%2Fsimple_command_dispatcher

Dependent Repos 1

gangelo/simple_command_dispatcher
A Ruby Gem that dispatches SimpleCommands (simple_command gem) dynamically, so that API applications do not have to hard-code things like api modules and version numbers.
  • 3.0.3 Gemfile.lock

Size: 290 KB - Last synced: 1 day ago - Pushed: 4 days ago