finicity 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +23 -0
- data/.rspec +2 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +69 -0
- data/Rakefile +10 -0
- data/finicity.gemspec +31 -0
- data/lib/finicity.rb +42 -0
- data/lib/finicity/client.rb +350 -0
- data/lib/finicity/configuration.rb +13 -0
- data/lib/finicity/errors.rb +62 -0
- data/lib/finicity/logger.rb +19 -0
- data/lib/finicity/railtie.rb +22 -0
- data/lib/finicity/v1.rb +29 -0
- data/lib/finicity/v1/request/activate_accounts.rb +73 -0
- data/lib/finicity/v1/request/activate_accounts_with_mfa.rb +88 -0
- data/lib/finicity/v1/request/add_customer.rb +54 -0
- data/lib/finicity/v1/request/delete_customer.rb +45 -0
- data/lib/finicity/v1/request/discover_accounts.rb +71 -0
- data/lib/finicity/v1/request/discover_accounts_with_mfa.rb +87 -0
- data/lib/finicity/v1/request/get_accounts.rb +50 -0
- data/lib/finicity/v1/request/get_customers.rb +43 -0
- data/lib/finicity/v1/request/get_customers_by_username.rb +52 -0
- data/lib/finicity/v1/request/get_institution.rb +45 -0
- data/lib/finicity/v1/request/get_institutions.rb +45 -0
- data/lib/finicity/v1/request/get_login_form.rb +47 -0
- data/lib/finicity/v1/request/get_transactions.rb +60 -0
- data/lib/finicity/v1/request/interactive_refresh_account.rb +51 -0
- data/lib/finicity/v1/request/interactive_refresh_account_with_mfa.rb +74 -0
- data/lib/finicity/v1/request/refresh_accounts.rb +47 -0
- data/lib/finicity/v1/response/accounts.rb +75 -0
- data/lib/finicity/v1/response/customers.rb +36 -0
- data/lib/finicity/v1/response/error.rb +13 -0
- data/lib/finicity/v1/response/institutions.rb +38 -0
- data/lib/finicity/v1/response/login_form.rb +29 -0
- data/lib/finicity/v1/response/mfa.rb +22 -0
- data/lib/finicity/v1/response/transactions.rb +28 -0
- data/lib/finicity/v2.rb +7 -0
- data/lib/finicity/v2/request/partner_authentication.rb +39 -0
- data/lib/finicity/v2/response/partner_authentication.rb +12 -0
- data/lib/finicity/version.rb +3 -0
- data/spec/finicity/client_spec.rb +527 -0
- data/spec/finicity/v1/request/activate_accounts_spec.rb +49 -0
- data/spec/finicity/v1/request/activate_accounts_with_mfa_spec.rb +64 -0
- data/spec/finicity/v1/request/add_customer_spec.rb +37 -0
- data/spec/finicity/v1/request/delete_customer_spec.rb +18 -0
- data/spec/finicity/v1/request/discover_accounts_spec.rb +42 -0
- data/spec/finicity/v1/request/discover_accounts_with_mfa_spec.rb +59 -0
- data/spec/finicity/v1/request/get_accounts_spec.rb +18 -0
- data/spec/finicity/v1/request/get_customers_by_username_spec.rb +18 -0
- data/spec/finicity/v1/request/get_customers_spec.rb +18 -0
- data/spec/finicity/v1/request/get_institution_spec.rb +18 -0
- data/spec/finicity/v1/request/get_institutions_spec.rb +18 -0
- data/spec/finicity/v1/request/get_login_form_spec.rb +18 -0
- data/spec/finicity/v1/request/get_transactions_spec.rb +19 -0
- data/spec/finicity/v1/request/interactive_refresh_account_spec.rb +19 -0
- data/spec/finicity/v1/request/interactive_refresh_account_with_mfa_spec.rb +38 -0
- data/spec/finicity/v1/request/refresh_accounts_spec.rb +18 -0
- data/spec/finicity/v1/response/accounts_spec.rb +39 -0
- data/spec/finicity/v1/response/customers_spec.rb +19 -0
- data/spec/finicity/v1/response/error_spec.rb +19 -0
- data/spec/finicity/v1/response/institutions_spec.rb +19 -0
- data/spec/finicity/v1/response/login_form_spec.rb +31 -0
- data/spec/finicity/v1/response/mfa_spec.rb +23 -0
- data/spec/finicity/v1/response/transactions_spec.rb +47 -0
- data/spec/finicity/v2/request/partner_authentication_spec.rb +21 -0
- data/spec/finicity/v2/response/partner_authentication_spec.rb +15 -0
- data/spec/spec_helper.rb +36 -0
- metadata +265 -0
@@ -0,0 +1,18 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe ::Finicity::V1::Request::RefreshAccounts do
|
4
|
+
subject { described_class.new("token-123", 1) }
|
5
|
+
|
6
|
+
describe "#headers" do
|
7
|
+
it "has correct headers" do
|
8
|
+
subject.headers.should have_key('Finicity-App-Key')
|
9
|
+
subject.headers.should have_key('Finicity-App-Token')
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
describe "#url" do
|
14
|
+
it "has a correct url" do
|
15
|
+
subject.url.to_s.should include('customers/1/accounts')
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe ::Finicity::V1::Response::Accounts do
|
4
|
+
let(:sample_response) {
|
5
|
+
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><accounts><account><id>1234</id><number>1234</number><name>TOTAL CHECKING</name><balance>100</balance><type>checking</type><aggregationStatusCode>185</aggregationStatusCode><status>active</status><customerId>4079253</customerId><institutionId>5</institutionId><aggregationAttemptDate>1410378206</aggregationAttemptDate><createdDate>1410376928</createdDate></account><account><id>5678</id><number>5678</number><name>CHASE SAVINGS</name><balance>500</balance><type>savings</type><aggregationStatusCode>185</aggregationStatusCode><status>active</status><customerId>4079253</customerId><institutionId>5</institutionId><aggregationAttemptDate>1410378206</aggregationAttemptDate><createdDate>1410376928</createdDate></account></accounts>"
|
6
|
+
}
|
7
|
+
|
8
|
+
subject { described_class.parse(sample_response) }
|
9
|
+
|
10
|
+
describe ".parse" do
|
11
|
+
it "parses accounts" do
|
12
|
+
subject.accounts.size.should eq(2)
|
13
|
+
end
|
14
|
+
|
15
|
+
it "parses account type" do
|
16
|
+
subject.accounts.first.type.should eq("checking")
|
17
|
+
end
|
18
|
+
|
19
|
+
it "parses account name" do
|
20
|
+
subject.accounts.first.name.should eq("TOTAL CHECKING")
|
21
|
+
end
|
22
|
+
|
23
|
+
it "parses account id" do
|
24
|
+
subject.accounts.first.id.should eq("1234")
|
25
|
+
end
|
26
|
+
|
27
|
+
it "parses aggregation_status_code" do
|
28
|
+
subject.accounts.first.aggregation_status_code.should eq(185)
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
describe "#validate_aggregation_status!" do
|
33
|
+
it "raises an error when the scrape_status_code indicates failure" do
|
34
|
+
expect { subject.accounts.first.validate_aggregation_status! }.to raise_error(
|
35
|
+
::Finicity::InvalidCredentialsError
|
36
|
+
)
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe ::Finicity::V1::Response::Customers do
|
4
|
+
let(:sample_response) {
|
5
|
+
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><customers found=\"1\" displaying=\"1\" moreAvailable=\"false\"><customer><id>4079253</id><username>USR-fac55a4d-c690-5422-6b5c-096aae3c12f5</username><firstName>USR-fac55a4d-c690-5422-6b5c-096aae3c12f5</firstName><lastName>USR-fac55a4d-c690-5422-6b5c-096aae3c12f5</lastName><email>USR-fac55a4d-c690-5422-6b5c-096aae3c12f5@moneydesktop.com</email><createdDate>1410197285</createdDate></customer></customers>"
|
6
|
+
}
|
7
|
+
|
8
|
+
describe ".parse" do
|
9
|
+
subject { described_class.parse(sample_response) }
|
10
|
+
|
11
|
+
it "parses customer" do
|
12
|
+
subject.customers.first.id.should eq("4079253")
|
13
|
+
end
|
14
|
+
|
15
|
+
it "parses displaying" do
|
16
|
+
subject.displaying.should eq(1)
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe ::Finicity::V1::Response::Error do
|
4
|
+
let(:sample_response) {
|
5
|
+
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><error><code>14006</code><message>Institution not found.</message></error>"
|
6
|
+
}
|
7
|
+
|
8
|
+
describe ".parse" do
|
9
|
+
subject { described_class.parse(sample_response) }
|
10
|
+
|
11
|
+
it "parses message" do
|
12
|
+
subject.message.should eq("Institution not found.")
|
13
|
+
end
|
14
|
+
|
15
|
+
it "parses code" do
|
16
|
+
subject.code.should eq(14006)
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe ::Finicity::V1::Response::Institutions do
|
4
|
+
let(:sample_response) {
|
5
|
+
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><institutions found=\"52\" displaying=\"1\" moreAvailable=\"true\"><institution><id>5</id><name>Chase</name><accountTypeDescription>Banking</accountTypeDescription><totalAccounts>27158</totalAccounts><discovery>no</discovery><urlHomeApp>http://www.chase.com/</urlHomeApp><urlLogonApp>https://chaseonline.chase.com/chaseonline/logon/sso_logon.jsp</urlLogonApp></institution></institutions>"
|
6
|
+
}
|
7
|
+
|
8
|
+
describe ".parse" do
|
9
|
+
subject { described_class.parse(sample_response) }
|
10
|
+
|
11
|
+
it "parses institutions" do
|
12
|
+
subject.institutions.size.should eq(1)
|
13
|
+
end
|
14
|
+
|
15
|
+
it "parses more_available" do
|
16
|
+
subject.more_available?.should be true
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe ::Finicity::V1::Response::LoginForm do
|
4
|
+
let(:sample_response) {
|
5
|
+
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><loginForm><loginField><id>5001</id><name>usr_name</name><value></value><description>User ID</description><displayOrder>1</displayOrder><mask>false</mask><valueLengthMin>0</valueLengthMin><valueLengthMax>0</valueLengthMax></loginField><loginField><id>5002</id><name>usr_password</name><value></value><description>Password</description><displayOrder>2</displayOrder><mask>true</mask><valueLengthMin>0</valueLengthMin><valueLengthMax>0</valueLengthMax></loginField></loginForm>"
|
6
|
+
}
|
7
|
+
|
8
|
+
subject { described_class.parse(sample_response) }
|
9
|
+
|
10
|
+
describe ".parse" do
|
11
|
+
it "parses the login_fields" do
|
12
|
+
subject.login_fields.size.should eq(2)
|
13
|
+
end
|
14
|
+
|
15
|
+
it "parses id" do
|
16
|
+
subject.login_fields.first.id.should eq("5001")
|
17
|
+
end
|
18
|
+
|
19
|
+
it "parses name" do
|
20
|
+
subject.login_fields.first.name.should eq("usr_name")
|
21
|
+
end
|
22
|
+
|
23
|
+
it "parses description" do
|
24
|
+
subject.login_fields.first.description.should eq("User ID")
|
25
|
+
end
|
26
|
+
|
27
|
+
it "parses display_order" do
|
28
|
+
subject.login_fields.first.display_order.should eq(1)
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe ::Finicity::V1::Response::Mfa do
|
4
|
+
let(:sample_response) {
|
5
|
+
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><mfaChallenges><questions><question><text>Would you like to get an Activation Code in your Email Account?</text><choice value=\"Yes\">Yes</choice><choice value=\"No\">No</choice></question></questions></mfaChallenges>"
|
6
|
+
}
|
7
|
+
|
8
|
+
describe ".parse" do
|
9
|
+
subject { described_class.parse(sample_response) }
|
10
|
+
|
11
|
+
it "parses questions" do
|
12
|
+
subject.questions.size.should eq(1)
|
13
|
+
end
|
14
|
+
|
15
|
+
it "parses question text" do
|
16
|
+
subject.questions.first.text.should eq("Would you like to get an Activation Code in your Email Account?")
|
17
|
+
end
|
18
|
+
|
19
|
+
it "parses choices" do
|
20
|
+
subject.questions.first.choices.should eq(["Yes", "No"])
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe ::Finicity::V1::Response::Transactions do
|
4
|
+
let(:sample_response) {
|
5
|
+
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><transactions><transaction><amount>-6.5</amount><bonusAmount>0.0</bonusAmount><accountId>5159222</accountId><customerId>4079253</customerId><createdDate>1410385477</createdDate><description>JUICE N JAVA OREM OREM UT</description><escrowAmount>0.0</escrowAmount><feeAmount>0.0</feeAmount><id>409296552</id><institutionTransactionId>201409080</institutionTransactionId><interestAmount>0.0</interestAmount><memo>09/04</memo><postedDate>1410199200</postedDate><principalAmount>0.0</principalAmount><status>active</status><unitQuantity>0.0</unitQuantity><unitValue>0.0</unitValue></transaction></transactions>"
|
6
|
+
}
|
7
|
+
|
8
|
+
describe ".parse" do
|
9
|
+
subject { described_class.parse(sample_response) }
|
10
|
+
|
11
|
+
it "parses transactions" do
|
12
|
+
subject.transactions.size.should eq(1)
|
13
|
+
end
|
14
|
+
|
15
|
+
it "parses id" do
|
16
|
+
subject.transactions.first.id.should eq("409296552")
|
17
|
+
end
|
18
|
+
|
19
|
+
it "parses amount" do
|
20
|
+
subject.transactions.first.amount.should eq(-6.5)
|
21
|
+
end
|
22
|
+
|
23
|
+
it "parses account_id" do
|
24
|
+
subject.transactions.first.account_id.should eq("5159222")
|
25
|
+
end
|
26
|
+
|
27
|
+
it "parses customer_id" do
|
28
|
+
subject.transactions.first.customer_id.should eq("4079253")
|
29
|
+
end
|
30
|
+
|
31
|
+
it "parses description" do
|
32
|
+
subject.transactions.first.description.should eq("JUICE N JAVA OREM OREM UT")
|
33
|
+
end
|
34
|
+
|
35
|
+
it "parses memo" do
|
36
|
+
subject.transactions.first.memo.should eq("09/04")
|
37
|
+
end
|
38
|
+
|
39
|
+
it "parses posted_date" do
|
40
|
+
subject.transactions.first.posted_date.should eq(1410199200)
|
41
|
+
end
|
42
|
+
|
43
|
+
it "parses status" do
|
44
|
+
subject.transactions.first.status.should eq("active")
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe ::Finicity::V2::Request::PartnerAuthentication do
|
4
|
+
describe "#body" do
|
5
|
+
it "has a correct body" do
|
6
|
+
subject.body.should include('partnerSecret')
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
describe "#headers" do
|
11
|
+
it "has correct headers" do
|
12
|
+
subject.headers.should have_key('Finicity-App-Key')
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
describe "#url" do
|
17
|
+
it "has a correct url" do
|
18
|
+
subject.url.to_s.should include('partners/authentication')
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe ::Finicity::V2::Response::PartnerAuthentication do
|
4
|
+
let(:sample_response) {
|
5
|
+
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><access><token>token-123</token></access>"
|
6
|
+
}
|
7
|
+
|
8
|
+
describe ".parse" do
|
9
|
+
subject { described_class.parse(sample_response) }
|
10
|
+
|
11
|
+
it "parses the token" do
|
12
|
+
subject.token.should eq("token-123")
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
require 'finicity'
|
2
|
+
require 'pry'
|
3
|
+
|
4
|
+
::Finicity.configure do |config|
|
5
|
+
config.base_url = "https://api.finicity.com/aggregation/"
|
6
|
+
end
|
7
|
+
|
8
|
+
# set up simplecov
|
9
|
+
require 'simplecov'
|
10
|
+
|
11
|
+
::SimpleCov.start do
|
12
|
+
add_filter 'spec/'
|
13
|
+
end
|
14
|
+
|
15
|
+
# This file was generated by the `rspec --init` command. Conventionally, all
|
16
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
17
|
+
# Require this file using `require "spec_helper"` to ensure that it is only
|
18
|
+
# loaded once.
|
19
|
+
#
|
20
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
21
|
+
RSpec.configure do |config|
|
22
|
+
|
23
|
+
# Enable should syntax
|
24
|
+
config.expect_with :rspec do |rspec|
|
25
|
+
rspec.syntax = [ :should, :expect ]
|
26
|
+
end
|
27
|
+
|
28
|
+
# Run specs in random order to surface order dependencies. If you find an
|
29
|
+
# order dependency and want to debug it, you can fix the order by providing
|
30
|
+
# the seed, which is printed after each run.
|
31
|
+
# --seed 1234
|
32
|
+
config.order = 'random'
|
33
|
+
|
34
|
+
# silence the logger
|
35
|
+
config.before(:suite) { ::Finicity.logger.level = ::Logger::FATAL }
|
36
|
+
end
|
metadata
ADDED
@@ -0,0 +1,265 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: finicity
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Moneydesktop
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-12-08 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: httpclient
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 2.4.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 2.4.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: nokogiri
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.6.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.6.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: saxomattic
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.0.3
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.0.3
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: bundler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.6'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.6'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: pry
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rake
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rspec
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 3.1.0
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 3.1.0
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: simplecov
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: special_delivery
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
description: A gem to communicate easily with Finicity's API
|
140
|
+
email:
|
141
|
+
- dev@moneydesktop.com
|
142
|
+
executables: []
|
143
|
+
extensions: []
|
144
|
+
extra_rdoc_files: []
|
145
|
+
files:
|
146
|
+
- ".gitignore"
|
147
|
+
- ".rspec"
|
148
|
+
- Gemfile
|
149
|
+
- LICENSE.txt
|
150
|
+
- README.md
|
151
|
+
- Rakefile
|
152
|
+
- finicity.gemspec
|
153
|
+
- lib/finicity.rb
|
154
|
+
- lib/finicity/client.rb
|
155
|
+
- lib/finicity/configuration.rb
|
156
|
+
- lib/finicity/errors.rb
|
157
|
+
- lib/finicity/logger.rb
|
158
|
+
- lib/finicity/railtie.rb
|
159
|
+
- lib/finicity/v1.rb
|
160
|
+
- lib/finicity/v1/request/activate_accounts.rb
|
161
|
+
- lib/finicity/v1/request/activate_accounts_with_mfa.rb
|
162
|
+
- lib/finicity/v1/request/add_customer.rb
|
163
|
+
- lib/finicity/v1/request/delete_customer.rb
|
164
|
+
- lib/finicity/v1/request/discover_accounts.rb
|
165
|
+
- lib/finicity/v1/request/discover_accounts_with_mfa.rb
|
166
|
+
- lib/finicity/v1/request/get_accounts.rb
|
167
|
+
- lib/finicity/v1/request/get_customers.rb
|
168
|
+
- lib/finicity/v1/request/get_customers_by_username.rb
|
169
|
+
- lib/finicity/v1/request/get_institution.rb
|
170
|
+
- lib/finicity/v1/request/get_institutions.rb
|
171
|
+
- lib/finicity/v1/request/get_login_form.rb
|
172
|
+
- lib/finicity/v1/request/get_transactions.rb
|
173
|
+
- lib/finicity/v1/request/interactive_refresh_account.rb
|
174
|
+
- lib/finicity/v1/request/interactive_refresh_account_with_mfa.rb
|
175
|
+
- lib/finicity/v1/request/refresh_accounts.rb
|
176
|
+
- lib/finicity/v1/response/accounts.rb
|
177
|
+
- lib/finicity/v1/response/customers.rb
|
178
|
+
- lib/finicity/v1/response/error.rb
|
179
|
+
- lib/finicity/v1/response/institutions.rb
|
180
|
+
- lib/finicity/v1/response/login_form.rb
|
181
|
+
- lib/finicity/v1/response/mfa.rb
|
182
|
+
- lib/finicity/v1/response/transactions.rb
|
183
|
+
- lib/finicity/v2.rb
|
184
|
+
- lib/finicity/v2/request/partner_authentication.rb
|
185
|
+
- lib/finicity/v2/response/partner_authentication.rb
|
186
|
+
- lib/finicity/version.rb
|
187
|
+
- spec/finicity/client_spec.rb
|
188
|
+
- spec/finicity/v1/request/activate_accounts_spec.rb
|
189
|
+
- spec/finicity/v1/request/activate_accounts_with_mfa_spec.rb
|
190
|
+
- spec/finicity/v1/request/add_customer_spec.rb
|
191
|
+
- spec/finicity/v1/request/delete_customer_spec.rb
|
192
|
+
- spec/finicity/v1/request/discover_accounts_spec.rb
|
193
|
+
- spec/finicity/v1/request/discover_accounts_with_mfa_spec.rb
|
194
|
+
- spec/finicity/v1/request/get_accounts_spec.rb
|
195
|
+
- spec/finicity/v1/request/get_customers_by_username_spec.rb
|
196
|
+
- spec/finicity/v1/request/get_customers_spec.rb
|
197
|
+
- spec/finicity/v1/request/get_institution_spec.rb
|
198
|
+
- spec/finicity/v1/request/get_institutions_spec.rb
|
199
|
+
- spec/finicity/v1/request/get_login_form_spec.rb
|
200
|
+
- spec/finicity/v1/request/get_transactions_spec.rb
|
201
|
+
- spec/finicity/v1/request/interactive_refresh_account_spec.rb
|
202
|
+
- spec/finicity/v1/request/interactive_refresh_account_with_mfa_spec.rb
|
203
|
+
- spec/finicity/v1/request/refresh_accounts_spec.rb
|
204
|
+
- spec/finicity/v1/response/accounts_spec.rb
|
205
|
+
- spec/finicity/v1/response/customers_spec.rb
|
206
|
+
- spec/finicity/v1/response/error_spec.rb
|
207
|
+
- spec/finicity/v1/response/institutions_spec.rb
|
208
|
+
- spec/finicity/v1/response/login_form_spec.rb
|
209
|
+
- spec/finicity/v1/response/mfa_spec.rb
|
210
|
+
- spec/finicity/v1/response/transactions_spec.rb
|
211
|
+
- spec/finicity/v2/request/partner_authentication_spec.rb
|
212
|
+
- spec/finicity/v2/response/partner_authentication_spec.rb
|
213
|
+
- spec/spec_helper.rb
|
214
|
+
homepage: ''
|
215
|
+
licenses:
|
216
|
+
- MIT
|
217
|
+
metadata: {}
|
218
|
+
post_install_message:
|
219
|
+
rdoc_options: []
|
220
|
+
require_paths:
|
221
|
+
- lib
|
222
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
223
|
+
requirements:
|
224
|
+
- - ">="
|
225
|
+
- !ruby/object:Gem::Version
|
226
|
+
version: '0'
|
227
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
228
|
+
requirements:
|
229
|
+
- - ">="
|
230
|
+
- !ruby/object:Gem::Version
|
231
|
+
version: '0'
|
232
|
+
requirements: []
|
233
|
+
rubyforge_project:
|
234
|
+
rubygems_version: 2.2.2
|
235
|
+
signing_key:
|
236
|
+
specification_version: 4
|
237
|
+
summary: A gem to communicate easily with Finicity's API
|
238
|
+
test_files:
|
239
|
+
- spec/finicity/client_spec.rb
|
240
|
+
- spec/finicity/v1/request/activate_accounts_spec.rb
|
241
|
+
- spec/finicity/v1/request/activate_accounts_with_mfa_spec.rb
|
242
|
+
- spec/finicity/v1/request/add_customer_spec.rb
|
243
|
+
- spec/finicity/v1/request/delete_customer_spec.rb
|
244
|
+
- spec/finicity/v1/request/discover_accounts_spec.rb
|
245
|
+
- spec/finicity/v1/request/discover_accounts_with_mfa_spec.rb
|
246
|
+
- spec/finicity/v1/request/get_accounts_spec.rb
|
247
|
+
- spec/finicity/v1/request/get_customers_by_username_spec.rb
|
248
|
+
- spec/finicity/v1/request/get_customers_spec.rb
|
249
|
+
- spec/finicity/v1/request/get_institution_spec.rb
|
250
|
+
- spec/finicity/v1/request/get_institutions_spec.rb
|
251
|
+
- spec/finicity/v1/request/get_login_form_spec.rb
|
252
|
+
- spec/finicity/v1/request/get_transactions_spec.rb
|
253
|
+
- spec/finicity/v1/request/interactive_refresh_account_spec.rb
|
254
|
+
- spec/finicity/v1/request/interactive_refresh_account_with_mfa_spec.rb
|
255
|
+
- spec/finicity/v1/request/refresh_accounts_spec.rb
|
256
|
+
- spec/finicity/v1/response/accounts_spec.rb
|
257
|
+
- spec/finicity/v1/response/customers_spec.rb
|
258
|
+
- spec/finicity/v1/response/error_spec.rb
|
259
|
+
- spec/finicity/v1/response/institutions_spec.rb
|
260
|
+
- spec/finicity/v1/response/login_form_spec.rb
|
261
|
+
- spec/finicity/v1/response/mfa_spec.rb
|
262
|
+
- spec/finicity/v1/response/transactions_spec.rb
|
263
|
+
- spec/finicity/v2/request/partner_authentication_spec.rb
|
264
|
+
- spec/finicity/v2/response/partner_authentication_spec.rb
|
265
|
+
- spec/spec_helper.rb
|