Ruby API client for the Minty platform.
Installation
Add this line to your application's Gemfile:
gem "minty-rails"
And then execute:
$ bundle
Initializer
Minty::Rails.configure do |config|
config.client_id = "copy-paste-client-id-here"
config.client_secret = "copy-paste-client-secret-here"
config.application_id = "copy-paste-application-id-here"
config.domain = "copy-paste-domain-here"
config.sign_in_path = "/users/sign_in"
config.sign_up_path = "/users/sign_up"
config.forgot_password_path = "/users/forgot_password"
end
Use the ruby client programatically
Create an instance of MintyClient to access properties and methods of the authentication and management APIs:
require 'minty'
client = MintyClient.new(
client_id: ENV['CLIENT_ID'],
client_secret: ENV['CLIENT_SECRET'],
application_id: ENV['APPLICATION_ID'],
domain: ENV['DOMAIN'],
)
Or install it yourself as:
$ gem install minty-rails
Feedback
Contributing
We appreciate feedback and contribution to this repo! Before you get started, please see the following:
Raise an issue
To provide feedback or report a bug, please raise an issue on our issue tracker.
Vulnerability Reporting
Please do not report security vulnerabilities on the public GitHub issue tracker. The Responsible Disclosure Program details the procedure for disclosing security issues.
License
The gem is available as open source under the terms of the MIT License.