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