opencomponents
OpenComponents for Ruby
Important
This gem is still under heavy development and the API is likely to change at any time.
Getting Started
Add the gem to your Gemfile and run bundle install (prerelease versions aren't
on RubyGems):
gem 'opencomponents', github: 'opentable/ruby-oc'
By default, the gem will attempt to use a component registry located at
http://localhost:3030.
If you want to use a different registry, you can configure OpenComponents to use
it with:
OpenComponents.configure { |config| config.registry = 'http://some.other.host' }
Integrations
Individual integrations for rendering components in Rails and Sinatra are available.
Contributing
Would be rad. Open a PR or Issue if you have an idea for improvements.
License
Copyright 2015 OpenTable. See LICENSE for details.