Project

globber

0.0
No commit activity in last 3 years
No release in over 3 years
Utilize the ruby on rails environment backed by any remote API!
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 0.13
~> 4.2
~> 1.0
 Project Readme

Globber

Utilize the ruby on rails environment backed by any remote API!

Gem Version

Installation

In your Gemfile:

gem 'globber'

Setup options:

Automagically

  • Run rails g globber:install in the root directory of your project
  • Open config/initializers/globber.rb and set your base_uri

Jake & Fin

Manually (not as magical)

In config/routes.rb:

mount Globber::Engine => "/"

In config/initializers/globber.rb:

Globber.configure do |c|
  c.base_uri = 'http://api.yoursite.com'
end

Now whichever route is passed to rails will be mapped to your API server.

That's it!

Author

@jakenberg