Sha256: 66fa7b7b60906e7259d3657badc662f5ae11f2a9e7f4580561495eedb79df797
Contents?: true
Size: 959 Bytes
Versions: 2
Compression:
Stored size: 959 Bytes
Contents
# Stytch Welcome to the official Stytch ruby gem! This gem provides easy access to Stytch's API. ## Installation Add this line to your application's Gemfile: ```ruby gem 'stytch' ``` And then execute: $ bundle install Or install it yourself as: $ gem install stytch ## Usage To make a request, first create a Stytch Client. Set `env` to either `:test` or `:api` depending on which environment you want to use. ``` client = Stytch::Client.new( env: :test, project_id: "***", secret: "***" ) ``` Then make desired API call. ``` client.users.get(user_id: user_id) ``` ## License The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT). ## Code of Conduct Everyone interacting in the Stytch project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/stytchauth/stytch-ruby/blob/main/CODE_OF_CONDUCT.md).
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
stytch-2.1.0 | README.md |
stytch-2.0.0 | README.md |