fogle/opsworks-cookbooks
Chef Cookbooks for the AWS OpsWorks Service
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 call render :xml => model.to_api or render :json => model.to_api.
This repository is cataloged as part of our automated global GitHub synchronization. Full telemetry, velocity snapshots, and code summaries are scheduled for continuous enrichment.
Chef Cookbooks for the AWS OpsWorks Service
DSL-based permission rules for easy authorization logic in Rails