Registry / web-framework / service-pattern

service-pattern

JSON →
library1.0.10rbrubygemsunverified

ServicePattern provides a structured way to implement service objects in Ruby on Rails applications.

gem install service_pattern
INSTALL
IMPORT
SIG · SERVICE-PATTERN
S
service-pattern
web-frameworkrubyv1.0.10
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ServicePattern
require 'service_pattern'

Define and call a service object

require 'service_pattern' class CreateUser < ServicePattern::Service def call User.create!(params) end end CreateUser.call(name: 'Alice')
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.10latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
service-pattern — gem install service-pattern · libregistry