Sha256: ca7c8bed004ed7d3e856642221f44031ffca66c24ed416b12d2c0a48bb3d4c53

Contents?: true

Size: 954 Bytes

Versions: 9

Compression:

Stored size: 954 Bytes

Contents

# Stytch

Welcome to the offical 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

9 entries across 9 versions & 1 rubygems

Version Path
stytch-0.1.15 README.md
stytch-0.1.14 README.md
stytch-0.1.13 README.md
stytch-0.1.12 README.md
stytch-0.1.10 README.md
stytch-0.1.9 README.md
stytch-0.1.8 README.md
stytch-0.1.7 README.md
stytch-0.1.5 README.md