TODO: Write a gem description
Add this line to your application's Gemfile:
gem 'locu'
And then execute:
$ bundle
Or install it yourself as:
$ gem install locu
Create a config/initializer/locu.rb file with the following:
LOCU = Locu::Base.new 'YOUR API KEY HERE'
Find a venue:
LOCU.venues.find('9cd2508687bbb3ff6a49')
Search for a venue:
LOCU.venues.search(name: 'farm:table')
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Create a spec/api_key.rb file. Add the following to it:
SPEC_API_KEY = "YOUR LOCU API KEY"
Run your tests
$ rspec spec