Sha256: fb11192006eede8cbcd522d5ff7cc88c7506799419a64de2d3241d2e3a0f1798

Contents?: true

Size: 955 Bytes

Versions: 4

Compression:

Stored size: 955 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/[USERNAME]/stytch/blob/master/CODE_OF_CONDUCT.md).

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
stytch-0.1.19 README.md
stytch-0.1.18 README.md
stytch-0.1.17 README.md
stytch-0.1.16 README.md