Sha256: 16441105cad25407fa05150c9565fd94bc1fb15ed0b5362ea751ddd5fcd6f8d8
Contents?: true
Size: 958 Bytes
Versions: 5
Compression:
Stored size: 958 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.get_user(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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
stytch-1.0.0 | README.md |
stytch-0.2.1 | README.md |
stytch-0.2.0 | README.md |
stytch-0.1.21 | README.md |
stytch-0.1.20 | README.md |