Project

axn

0.0
The project is in a healthy, maintained state
Pattern for writing callable service objects with contract validation and error swallowing
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

 Project Readme

Axn -- [AHK-sin] (a.k.a. "Action")

Just spinning this up -- not yet released (i.e. doc updates in flight).

Installation & Usage

See our User Guide for details.

[!!] Inheritance Support

Out of the box Axn only supports a direct style (every action must include Action).

If you want to support inheritance, you'll need to add this line to your Gemfile (we're layered over Interactor, and their released version doesn't yet support inheritance):

gem "interactor", github: "kaspermeyer/interactor", branch: "fix-hook-inheritance"

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

Contributions

Axn is open source and contributions from the community are encouraged! No contribution is too small.

See our contribution guidelines for more information.

Thank You

A very special thank you to Collective Idea's fantastic Interactor library, which we used successfully for a number of years and which still forms the basis of this library today.