Sha256: 8bfca9c9a7f031af94618221f45329989248c4319bc46d778de1dcd20502f27a

Contents?: true

Size: 839 Bytes

Versions: 16

Compression:

Stored size: 839 Bytes

Contents

# Trailblazer-operation

_Trailblazer's Operation implementation._

## Overview

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 `Create.call(params: 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

Copyright (c) 2016-2020 Nick Sutterer <apotonick@gmail.com>

`trailblazer-operation` is released under the [MIT License](http://www.opensource.org/licenses/MIT).

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
trailblazer-operation-0.11.0 README.md
trailblazer-operation-0.10.1 README.md
trailblazer-operation-0.10.0 README.md
trailblazer-operation-0.9.0 README.md
trailblazer-operation-0.8.0 README.md
trailblazer-operation-0.8.0.beta1 README.md
trailblazer-operation-0.7.5 README.md
trailblazer-operation-0.7.4 README.md
trailblazer-operation-0.7.3 README.md
trailblazer-operation-0.7.2 README.md
trailblazer-operation-0.7.1 README.md
trailblazer-operation-0.7.0 README.md
trailblazer-operation-0.6.6 README.md
trailblazer-operation-0.6.5 README.md
trailblazer-operation-0.6.4 README.md
trailblazer-operation-0.6.3 README.md