Sha256: 01e91451da6d9d7e868833dccae423b4bbcfb660615d92bbea82546464a5fe55

Contents?: true

Size: 1.31 KB

Versions: 5

Compression:

Stored size: 1.31 KB

Contents

# Contributing

Instructions for contributing to [plaid-ruby][1]. A ruby client library for the [Plaid API][2]. This library is fully generated from the [Plaid OpenAPI spec](3).

## Setup

1. Run `make pull-openapi`.
2. Install [Docker](https://docs.docker.com/desktop/) if you do not have it on your machine, this helps to isolate any dependency issues.
3. Run `make build-openapi` after you have finished your Docker setup. This generates all the code necessary to run the library.

If you find an issue, please investigate whether it is a type problem with [OpenAPI](3) or a problem with the [ruby faraday](https://github.com/OpenAPITools/openapi-generator/blob/master/docs/generators/ruby.md) generator. Then open an issue and Plaid will investigate further.

## Running Tests

1. To build the docker image for the client tests, run `docker build -t plaid-ruby .`.
2. Go to the [Plaid Dashboard](https://dashboard.plaid.com/) and copy and paste your `client_id` and sandbox `secret` into the following command.
3. Run `docker run --rm -e PLAID_RUBY_CLIENT_ID=$CLIENT_ID -e PLAID_RUBY_SECRET=$SECRET plaid-ruby`.

If you wish to run a single test, edit the `Rakefile` and rebuild the docker image using the command from step 1.

[1]: https://github.com/plaid/plaid-ruby
[2]: https://plaid.com
[3]: https://github.com/plaid/plaid-openapi

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
plaid-14.0.0.beta.5.pre.plural.pre.income.pre.breakdown CONTRIBUTING.md
plaid-14.0.0.beta.5 CONTRIBUTING.md
plaid-14.0.0.beta.4 CONTRIBUTING.md
plaid-14.0.0.beta.3 CONTRIBUTING.md
plaid-14.0.0.beta.2 CONTRIBUTING.md