Skip to content
Trailblazer's Operation implementation.
Branch: master
Clone or download
Latest commit 344c119 Jun 16, 2019


Trailblazer's Operation implementation.


An operation is a pattern from the Trailblazer architecture. It implements a public function such as "create user" or "archive blog post". Internally, an operation is simply a generic activity that uses an existing DSL to help you creating the operation's flow.

An operation is identical to an activity with two additions.

  • A public call method with a simplified signature params, current_user: @user)
  • It produces a Result object with the popular success? API.

An operation can be used exaclty like an activity, including nesting, tracing, etc.


Copyright (c) 2016 Nick Sutterer

trailblazer-operation is released under the MIT License.

You can’t perform that action at this time.