plaid_rails 0.2.0 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,7 +5,7 @@ module PlaidRails
5
5
  def self.call(account_params)
6
6
  account_params["account_ids"].each do |id|
7
7
  # set Plaid::User
8
- user = Plaid.set_user(account_params["access_token"],['auth'])
8
+ user = Plaid.set_user(account_params["access_token"],['connect'])
9
9
  #find the account by account_id
10
10
  account = user.accounts.find{|a| a.id==id}
11
11
  PlaidRails::Account.create!(
@@ -1,3 +1,3 @@
1
1
  module PlaidRails
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plaid_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-03-16 00:00:00.000000000 Z
12
+ date: 2016-03-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails