Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Example Obvious Descriptor
Action: ExampleAction
Description: should do something awesome
Code:
- c: validate input
- c: set default id and values for new Thing entity
- c: create/populate Thing object
requires: Thing.populate
- c: save thing to jack
requires: ThingJack.save, Thing.to_hash
- c: return the result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment