Skip to content

blanquer/praxis-blueprints

 
 

Repository files navigation

Praxis Blueprints

Praxis Blueprints is a library that allows for defining a reusable class structures that has a set of typed attributes and a set of views with which to render them. Instantiations of Blueprints resemble ruby Structs which respond to methods of the attribute names. Rendering is format-agnostic in that it results in a structured hash instead of an encoded string. Blueprints can automatically generate object structures that follow the attribute definitions.

Installation

Add this line to your application's Gemfile:

gem 'praxis-blueprints'

And then execute:

$ bundle

Or install it yourself as:

$ gem install praxis-blueprints

Usage

Documentation coming soon.

Contributing

  1. Fork it ( https://github.com/[my-github-username]/praxis-blueprints/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

License

This software is released under the MIT License. Please see LICENSE for further details.

Copyright (c) 2014 RightScale

About

Media-type rendering library for Praxis.

Resources

License

Stars

Watchers

Forks

Packages

No packages published