Skip to content

metova/metova-rails

Repository files navigation

Metova Rails Components Build Status

The Metova gem provides a plethora of functionality for Rails apps.

Installation

Because AMS 0.10.0 is not released to RubyGems, it should be installed separately in your Gemfile instead of being a dependency of metova.

gem 'metova'
gem 'active_model_serializers', github: 'rails-api/active_model_serializers'

Then bundle install.

API Responder

This engine includes a Responder for use with the responders gem. Rails responders are executed when calling respond_with in a controller action. To gain the full effect of these libraries, you should always be using respond_with instead of the "default" Rails respond_to do |format| blocks.

To enable the Responder, add this line to the top of your API base controller:

self.responder = Metova::Responder

Documentation

Please see the Wiki for full documentation!

Contributing

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

About

Metova libraries for Ruby on Rails

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published