From cff1c66c27542bb1e8726c20c0ce0025da7b2973 Mon Sep 17 00:00:00 2001 From: Jason Kriss Date: Mon, 18 May 2015 14:26:45 -0700 Subject: [PATCH] release 0.1.0 --- README.md | 39 +++++++++++++++++++++++++-------------- package.json | 8 ++++---- 2 files changed, 29 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 8d63ed7..bf34cff 100644 --- a/README.md +++ b/README.md @@ -1,25 +1,36 @@ -# Ember-plaid +# ember-plaid -This README outlines the details of collaborating on this Ember addon. +[Plaid's](https://plaid.com/) drop-in Link module as an Ember component. ## Installation -* `git clone` this repository -* `npm install` -* `bower install` +```bash +# From within your ember-cli project +ember install ember-plaid +``` -## Running +## Configuration -* `ember server` -* Visit your app at http://localhost:4200. +```javascript +// config/environment.js +ENV['ember-plaid'] = { + clientName: 'REQUIRED', + product: 'auth', + key: 'test_key', + env: 'tartan' +}; +``` -## Running Tests +Check the [Link Docs](https://github.com/plaid/link#custom-integration) for all of the parameter options. -* `ember test` -* `ember test --server` +## Usage -## Building +```hbs +{{plaid-link action='processPlaidToken'}} -* `ember build` +{{!-- Or --}} -For more information on using ember-cli, visit [http://www.ember-cli.com/](http://www.ember-cli.com/). +{{#plaid-link action='processPlaidToken'}}Verify Bank Account{{/plaid-link}} +``` + +Once a user has successfully onboarded via Plaid Link, the provided action will be called with the `public_token` passed as the sole argument. From there, you should follow the [instructions](https://github.com/plaid/link#step-3-write-server-side-handler) for exchanging the `public_token` for an `access_token`. diff --git a/package.json b/package.json index 7ff1a60..7d500aa 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ember-plaid", - "version": "0.0.0", - "description": "The default blueprint for ember-cli addons.", + "version": "0.1.0", + "description": "Plaid Link for your Ember app", "directories": { "doc": "doc", "test": "tests" @@ -11,11 +11,11 @@ "build": "ember build", "test": "ember try:testall" }, - "repository": "", + "repository": "https://github.com/jasonkriss/ember-plaid", "engines": { "node": ">= 0.10.0" }, - "author": "", + "author": "Jason Kriss", "license": "MIT", "devDependencies": { "broccoli-asset-rev": "^2.0.2",