Categories: None [Edit]

simple_command_dispatcher

https://rubygems.org/gems/simple_command_dispatcher
https://github.com/gangelo/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.

Total

Ranking: 71,070 of 183,127
Downloads: 12,360

Daily

Ranking: 47,329 of 183,106
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
7990,071,846activesupport
2,5675,679,155simple_command

Owners

#GravatarHandle
1icongangelo