Sha256: 61488f9095f3c65278a280e0d5413c859cc0238445d7141b1674bd18edee5841
Contents?: true
Size: 1012 Bytes
Versions: 4
Compression:
Stored size: 1012 Bytes
Contents
# isomorfeus-operation Operations for Isomorfeus. ### Community and Support At the [Isomorfeus Framework Project](http://isomorfeus.com) ### Usage there are 3 kinds of Operations: - LucidQuickOp - LucidOperation - LucidLocalOperation ```ruby class MyQuickOp < LucidQuickOp::Base prop :a_prop op do props.a_prop == 'a_value' # do something end end MyQuickOp.promise_run(a_prop: 'a_value') ``` Quick remote procedure call, always executed on the server. LucidOperation too is always executed on the Server. It allows to define Operations in gherkin human language style: ``` class MyOperation < LucidOperation::Base prop :a_prop procedure <<~TEXT Given a bird When it flies Then be happy TEXT Given /a bird/ do props.a_prop == 'a_value' end # etc ... end MyOperation.promise_run(a_prop: 'a_value') ``` LucidLocalOperation is the same as LucidOperation, except its always executed locally, wherever that may be. Its barely tested so far and no other docs.
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
isomorfeus-operation-1.0.0.zeta10 | README.md |
isomorfeus-operation-1.0.0.zeta9 | README.md |
isomorfeus-operation-1.0.0.zeta8 | README.md |
isomorfeus-operation-1.0.0.zeta6 | README.md |