Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 1.08 KB

README.md

File metadata and controls

34 lines (20 loc) · 1.08 KB

Omniauth::Topboard

Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file lib/omniauth/topboard. To experiment with that code, run bin/console for an interactive prompt.

Installation

Add this line to your application's Gemfile:

gem 'omniauth-topboard'

And then execute:

$ bundle

Usage

Here's a quick example, adding the middleware to a Rails app in config/initializers/omniauth.rb:

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :topboard, "KEY", "SECRET", scope: 'read:user'
end

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/omniauth-topboard. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.