Sha256: 08744de95477617736ea34a6b26c4db0118c98953b8c94e8577ab4d95c74dc4a

Contents?: true

Size: 834 Bytes

Versions: 7

Compression:

Stored size: 834 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 Nick Sutterer <apotonick@gmail.com>

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
trailblazer-operation-0.6.2 README.md
trailblazer-operation-0.6.1 README.md
trailblazer-operation-0.6.0 README.md
trailblazer-operation-0.5.3 README.md
trailblazer-operation-0.5.2 README.md
trailblazer-operation-0.5.1 README.md
trailblazer-operation-0.5.0 README.md