/snowshoe_ruby

An easy to use SDK for communicating with the SnowShoe API in Ruby apps.

Primary LanguageRubyMIT LicenseMIT

SnowshoeRuby

TODO: Write a gem description

Installation

Add this line to your application's Gemfile:

gem 'snowshoe_ruby'

And then execute:

$ bundle

Or install it yourself as:

$ gem install snowshoe_ruby

Usage

config/snowshoe.yml

development:
  secret: yoursecret
  key: yourkey
  callback_url: http://yourdomain.com/showshoe

In your callback controller

SnowshoeRuby.stamp(params)
# or
redirect_to SnowshoeRuby.stamp_url

Contributing

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