Omniauth strategy for Smashrun ( https://api.smashrun.com/v1/documentation )
Add this line to your application's Gemfile:
gem 'omniauth-smashrun'
And then execute:
$ bundle
Or install it yourself as:
$ gem install omniauth-smashrun
Register Smashrun Strategy in omniauth configuration file(config/initializers/omniauth.rb)
Rails.application.config.middleware.use OmniAuth::Builder do
provider :smashrun, 'client id', 'client secret'
end
Use Smasrun clinet gem for consuming smashrun api