{"action":"opened","issue":{"url":"https://api.github.com/repos/sethpollack/ember-stickler/issues/12","labels_url":"https://api.github.com/repos/sethpollack/ember-stickler/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/sethpollack/ember-stickler/issues/12/comments","events_url":"https://api.github.com/repos/sethpollack/ember-stickler/issues/12/events","html_url":"https://github.com/sethpollack/ember-stickler/issues/12","id":95072773,"number":12,"title":"Add Transforms","user":{"login":"runspired","id":650309,"avatar_url":"https://avatars.githubusercontent.com/u/650309?v=3","gravatar_id":"","url":"https://api.github.com/users/runspired","html_url":"https://github.com/runspired","followers_url":"https://api.github.com/users/runspired/followers","following_url":"https://api.github.com/users/runspired/following{/other_user}","gists_url":"https://api.github.com/users/runspired/gists{/gist_id}","starred_url":"https://api.github.com/users/runspired/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runspired/subscriptions","organizations_url":"https://api.github.com/users/runspired/orgs","repos_url":"https://api.github.com/users/runspired/repos","events_url":"https://api.github.com/users/runspired/events{/privacy}","received_events_url":"https://api.github.com/users/runspired/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sethpollack/ember-stickler/labels/feature","name":"feature","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/sethpollack/ember-stickler/milestones/2","html_url":"https://github.com/sethpollack/ember-stickler/milestones/v0.1.0","labels_url":"https://api.github.com/repos/sethpollack/ember-stickler/milestones/2/labels","id":1208315,"number":2,"title":"v0.1.0","description":"","creator":{"login":"sethpollack","id":4913482,"avatar_url":"https://avatars.githubusercontent.com/u/4913482?v=3","gravatar_id":"","url":"https://api.github.com/users/sethpollack","html_url":"https://github.com/sethpollack","followers_url":"https://api.github.com/users/sethpollack/followers","following_url":"https://api.github.com/users/sethpollack/following{/other_user}","gists_url":"https://api.github.com/users/sethpollack/gists{/gist_id}","starred_url":"https://api.github.com/users/sethpollack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethpollack/subscriptions","organizations_url":"https://api.github.com/users/sethpollack/orgs","repos_url":"https://api.github.com/users/sethpollack/repos","events_url":"https://api.github.com/users/sethpollack/events{/privacy}","received_events_url":"https://api.github.com/users/sethpollack/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":0,"state":"open","created_at":"2015-07-15T00:04:43Z","updated_at":"2015-07-15T00:29:44Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-07-15T00:29:44Z","updated_at":"2015-07-15T00:29:44Z","closed_at":null,"body":"Transforms are also placed in `app/validations/` but instead of returning a boolean they return a modified value.\n\nTransforms occur in-place in the chain of rules, so only rules coming after a transform will use the transformed value.\n\nTo create a transform, export a function from your rule (instead of an object) that expects one parameter (the value) and returns a modified value."}}