Registry / web-framework / active-interaction

active-interaction

JSON →
library5.5.0rbrubygemsunverified

ActiveInteraction manages application-specific business logic. It is an implementation of what are called service objects, interactors, or the command pattern. No matter what you call it, its built to work seamlessly with Rails.

gem install active_interaction
INSTALL
IMPORT
SIG · ACTIVE-INTERACTION
A
active-interaction
web-frameworkrubyv5.5.0
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.

ActiveInteraction
require 'active_interaction'

Define and run a service object

require 'active_interaction' class MyInteraction < ActiveInteraction::Base string :name def execute "Hello, #{name}!" end end result = MyInteraction.run(name: 'World') puts result
Debug
Known issues

No known issues recorded.

Upgrade
Version history
5.5.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
44 hits · last 30 days
node
38
Meta
1
OpenAI (training)
1
Resources
active-interaction — gem install active-interaction · libregistry