The gaslight-google
gem provides an interface for interacting with the Gaslight Google API.
Add this line to your application's Gemfile:
gem 'gaslight-google', github: 'gaslight/gaslight-google'
And then execute:
$ bundle
Getting a list of all of the posts is easy:
Gaslight::Google::Post.all
This gem requires 'gaslight/gaslight-client', which is hosted on github. I was unable to get this gem to require 'gaslight-client' without cloning it locally and rake install
it to my system gems gem list
. If you want to do development on this gem you might have to do the same
- Fork it ( https://github.com/gaslight/gaslight-google/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request