fogle - Overview

to_api to_api Public

Forked from atomicobject/to_api

Instead of to_xml and as_json, simply implement to_api. Return an unformatted hash. Let the model understand the data. Let the controller understand the format. In Rails, the controller can simply …

Ruby