figo 1.2.5 → 1.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -0
  3. data/config.yml +4 -0
  4. data/console_demo.rb +1 -1
  5. data/figo.gemspec +3 -3
  6. data/lib/account/api_call.rb +55 -0
  7. data/lib/account/model.rb +122 -0
  8. data/lib/account_balance/api_call.rb +18 -0
  9. data/lib/account_balance/model.rb +31 -0
  10. data/lib/authentification/api_call.rb +88 -0
  11. data/lib/bank/api_call.rb +49 -0
  12. data/lib/bank/model.rb +23 -0
  13. data/lib/base.rb +56 -0
  14. data/lib/cacert.pem +0 -0
  15. data/lib/figo.rb +54 -380
  16. data/lib/helpers/error.rb +20 -0
  17. data/lib/helpers/https.rb +52 -0
  18. data/lib/notification/api_call.rb +40 -0
  19. data/lib/notification/model.rb +27 -0
  20. data/lib/payment/api_call.rb +71 -0
  21. data/lib/payment/model.rb +75 -0
  22. data/lib/process/api_call.rb +17 -0
  23. data/lib/process/model.rb +34 -0
  24. data/lib/security/api_call.rb +59 -0
  25. data/lib/security/model.rb +83 -0
  26. data/lib/standing_order/api_call.rb +24 -0
  27. data/lib/standing_order/model.rb +75 -0
  28. data/lib/synchronization_status/api_call.rb +27 -0
  29. data/lib/synchronization_status/model.rb +23 -0
  30. data/lib/task/api_call.rb +37 -0
  31. data/lib/task/model.rb +43 -0
  32. data/lib/transaction/api_call.rb +57 -0
  33. data/lib/transaction/model.rb +75 -0
  34. data/lib/user/api_call.rb +46 -0
  35. data/lib/user/model.rb +55 -0
  36. data/test/config.yml +7 -0
  37. data/test/test_account_sync_and_setup.rb +67 -0
  38. data/test/test_accounts.rb +106 -0
  39. data/test/test_authentififcation.rb +68 -0
  40. data/test/test_business_processes.rb +43 -0
  41. data/test/test_figo.rb +5 -86
  42. data/test/test_notifications.rb +83 -0
  43. data/test/test_payments.rb +106 -0
  44. data/test/test_securities.rb +70 -0
  45. data/test/test_standing_orders.rb +49 -0
  46. data/test/test_transactions.rb +87 -0
  47. data/test/test_user_management.rb +91 -0
  48. metadata +64 -14
  49. data/lib/models.rb +0 -466
@@ -0,0 +1,106 @@
1
+ #
2
+ # Copyright (c) 2013 figo GmbH
3
+ #
4
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
5
+ # of this software and associated documentation files (the "Software"), to deal
6
+ # in the Software without restriction, including without limitation the rights
7
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ # copies of the Software, and to permit persons to whom the Software is
9
+ # furnished to do so, subject to the following conditions:
10
+ #
11
+ # The above copyright notice and this permission notice shall be included in
12
+ # all copies or substantial portions of the Software.
13
+ #
14
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20
+ # THE SOFTWARE.
21
+ #
22
+
23
+ require "flt"
24
+ require "minitest/autorun"
25
+ require "minitest/reporters"
26
+ Minitest::Reporters.use! Minitest::Reporters::SpecReporter.new
27
+ require_relative "../lib/figo"
28
+
29
+ class FigoTest < MiniTest::Unit::TestCase
30
+ i_suck_and_my_tests_are_order_dependent!()
31
+
32
+ def setup
33
+ @sut = Figo::Session.new(CONFIG["ACCESS_TOKEN"])
34
+ end
35
+
36
+ ## Payments
37
+ # Retrieve all Payments
38
+ def test_retrieve_all_payments
39
+ payments = @sut.payments
40
+
41
+ assert payments.length > 0
42
+ end
43
+
44
+ # Retrieve all Payments of one Account
45
+ def test_retrieve_all_payments_for_one_account
46
+ refute_nil @sut.payments("A1.1")
47
+ end
48
+
49
+ # Retrieve one Payment of one Account
50
+ def test_retrieve_one_payment_of_one_account
51
+ payments = @sut.payments("A1.1")
52
+
53
+ refute_nil @sut.get_payment("A1.1", payments[-1].payment_id).purpose
54
+ end
55
+
56
+ # Retrieve Payment Proposals
57
+ def test_retreive_payment_proposals
58
+ assert @sut.get_payment_proposals.length > 0
59
+ end
60
+
61
+ # Create a Single Payment
62
+ def test_create_a_single_payment
63
+ added_payment = @sut.add_payment(Figo::Payment.new(@sut, {account_id: "A1.1", type: "Transfer", account_number: "4711951501", bank_code: "90090042", name: "figo", purpose: "Thanks for all the fish.", amount: 0.89}))
64
+
65
+ refute_nil added_payment.payment_id
66
+ assert_equal added_payment.account_id, "A1.1"
67
+ assert_equal added_payment.bank_name, "Demobank"
68
+ assert_equal added_payment.amount, 0.89
69
+ end
70
+
71
+ # Submit Payment to Bank Server and test tasks
72
+ def test_submit_payment_to_bank_server
73
+ payment = Figo::Payment.new(@sut, {account_id: "A1.1", type: "Transfer", account_number: "4711951501", bank_code: "90090042", name: "figo", purpose: "Thanks for all the fish.", amount: 0.89});
74
+
75
+ payment = @sut.add_payment(payment)
76
+ assert payment
77
+
78
+ execption = assert_raises(Figo::Error) { @sut.submit_payment(payment, "M1.1", "string", "http://127.0.0.1") }
79
+ assert "Missing, invalid or expired access token.", execption.message
80
+ # task = @sut.submit_payment(payment, "M1.1", "string", "http://127.0.0.1")
81
+ #
82
+ # assert_match task, /https:/
83
+ # refute_nil @sut.start_task(task)
84
+ # assert @sut.get_task_state(task)
85
+ # refute_nil @sut.cancel_task(task)
86
+ end
87
+
88
+ # Modify a Single Payment
89
+ def test_modify_a_single_payment
90
+ payment = @sut.payments("A1.1")[-1]
91
+ payment.purpose = "new purpose"
92
+
93
+ new_payment = @sut.modify_payment(payment)
94
+
95
+ assert_equal payment.purpose, new_payment.purpose
96
+ end
97
+
98
+ # Delete Payment
99
+ def test_delete_payment
100
+ payment = @sut.payments("A1.1")[-1]
101
+
102
+ @sut.remove_payment(payment)
103
+
104
+ assert_nil @sut.get_payment("A1.1", payment.payment_id)
105
+ end
106
+ end
@@ -0,0 +1,70 @@
1
+ #
2
+ # Copyright (c) 2013 figo GmbH
3
+ #
4
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
5
+ # of this software and associated documentation files (the "Software"), to deal
6
+ # in the Software without restriction, including without limitation the rights
7
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ # copies of the Software, and to permit persons to whom the Software is
9
+ # furnished to do so, subject to the following conditions:
10
+ #
11
+ # The above copyright notice and this permission notice shall be included in
12
+ # all copies or substantial portions of the Software.
13
+ #
14
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20
+ # THE SOFTWARE.
21
+ #
22
+
23
+ require "flt"
24
+ require "minitest/autorun"
25
+ require "minitest/reporters"
26
+ Minitest::Reporters.use! Minitest::Reporters::SpecReporter.new
27
+ require_relative "../lib/figo"
28
+
29
+ class FigoTest < MiniTest::Unit::TestCase
30
+ def setup
31
+ @sut = Figo::Session.new(CONFIG["ACCESS_TOKEN"])
32
+ end
33
+
34
+ ## Securities
35
+ # Retrieve a Security
36
+ def test_retreive_a_security
37
+ assert @sut.get_security("A1.4", "S1.1")
38
+ end
39
+
40
+ # Retrieve Securities of all Accounts
41
+ def test_retreive_securities_of_all_accounts
42
+ assert @sut.get_securities({})
43
+ end
44
+
45
+ # Retrieve Securities of one Account
46
+ def test_retreive_securities_of_one_account
47
+ assert @sut.get_securities({account_id: "A1.4"})
48
+ end
49
+
50
+ # Modify a Security
51
+ def test_modify_a_security
52
+ execption = assert_raises(Figo::Error) { @sut.modify_security("A1.4", "S1.1", true) }
53
+ assert "Missing, invalid or expired access token.", execption.message
54
+ # assert @sut.modify_security("A1.4", "S1.1", true)
55
+ end
56
+
57
+ # Modify all Securities of all Accounts
58
+ def test_modify_all_securities_of_all_accounts
59
+ execption = assert_raises(Figo::Error) { @sut.modify_securities(true) }
60
+ assert "Missing, invalid or expired access token.", execption.message
61
+ # assert @sut.modify_securities(true)
62
+ end
63
+
64
+ # Modify all Securities of one Account
65
+ def test_modify_all_securities_of_one_accounts
66
+ execption = assert_raises(Figo::Error) { @sut.modify_securities(true, "A1.4") }
67
+ assert "Missing, invalid or expired access token.", execption.message
68
+ # assert @sut.modify_securities(true, "A1.4")
69
+ end
70
+ end
@@ -0,0 +1,49 @@
1
+ #
2
+ # Copyright (c) 2013 figo GmbH
3
+ #
4
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
5
+ # of this software and associated documentation files (the "Software"), to deal
6
+ # in the Software without restriction, including without limitation the rights
7
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ # copies of the Software, and to permit persons to whom the Software is
9
+ # furnished to do so, subject to the following conditions:
10
+ #
11
+ # The above copyright notice and this permission notice shall be included in
12
+ # all copies or substantial portions of the Software.
13
+ #
14
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20
+ # THE SOFTWARE.
21
+ #
22
+
23
+ require "flt"
24
+ require "minitest/autorun"
25
+ require "minitest/reporters"
26
+ Minitest::Reporters.use! Minitest::Reporters::SpecReporter.new
27
+ require_relative "../lib/figo"
28
+
29
+ class FigoTest < MiniTest::Unit::TestCase
30
+ def setup
31
+ @sut = Figo::Session.new(CONFIG["ACCESS_TOKEN"])
32
+ end
33
+
34
+ ## Standing Orders
35
+ # Retrieve a Standing Order
36
+ def test_retreive_a_standing_order
37
+ assert @sut.get_standing_order("SO1.1")
38
+ end
39
+
40
+ # Retrieve Standing Orders of all Accounts
41
+ def test_retreive_a_standing_orders_of_all_accounts
42
+ assert @sut.get_standing_orders().length > 0
43
+ end
44
+
45
+ # Retrieve Standing Orders of one Account
46
+ def test_retreive_a_standing_orders_of_one_account
47
+ assert @sut.get_account_standing_orders("A1.1").length > 0
48
+ end
49
+ end
@@ -0,0 +1,87 @@
1
+ #
2
+ # Copyright (c) 2013 figo GmbH
3
+ #
4
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
5
+ # of this software and associated documentation files (the "Software"), to deal
6
+ # in the Software without restriction, including without limitation the rights
7
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ # copies of the Software, and to permit persons to whom the Software is
9
+ # furnished to do so, subject to the following conditions:
10
+ #
11
+ # The above copyright notice and this permission notice shall be included in
12
+ # all copies or substantial portions of the Software.
13
+ #
14
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20
+ # THE SOFTWARE.
21
+ #
22
+
23
+ require "flt"
24
+ require "minitest/autorun"
25
+ require "minitest/reporters"
26
+ Minitest::Reporters.use! Minitest::Reporters::SpecReporter.new
27
+ require_relative "../lib/figo"
28
+
29
+ class FigoTest < MiniTest::Unit::TestCase
30
+ def setup
31
+ @sut = Figo::Session.new(CONFIG["ACCESS_TOKEN"])
32
+ end
33
+
34
+ ## Transactions
35
+ # Retrieve a Transaction
36
+ def test_retreive_a_transaction
37
+ transactions = @sut.get_account("A1.2").transactions
38
+ transaction = @sut.get_transaction("A1.2", transactions[0].transaction_id)
39
+
40
+ assert transaction
41
+ end
42
+ # Retrieve Transactions of one Account
43
+ def test_retreive_transactions_of_one_account
44
+ transactions = @sut.get_account("A1.2").transactions
45
+ assert transactions.length > 0
46
+ end
47
+
48
+ # Retrieve Transactions of all Accounts
49
+ def test_retreive_transactions_of_all_accounts
50
+ transactions = @sut.transactions
51
+ assert transactions.length > 0
52
+ end
53
+
54
+ # Modify a Transaction*
55
+ def test_modify_a_transaction
56
+ tID = @sut.get_account("A1.2").transactions[-1].transaction_id
57
+ execption = assert_raises(Figo::Error) {@sut.modify_transaction("A1.2", tID, true) }
58
+ assert "Missing, invalid or expired access token.", execption.message
59
+
60
+ # @sut.modify_transaction("A1.2", tID, true)
61
+ #
62
+ # assert @sut.get_transaction("A1.2", tID)
63
+ end
64
+
65
+ # Modify all Transactions of one Account*
66
+ def test_modify_all_transactions_of_one_account
67
+ execption = assert_raises(Figo::Error) { @sut.modify_transactions(false, "A1.2") }
68
+ assert "Missing, invalid or expired access token.", execption.message
69
+ # assert_nil @sut.modify_transactions(false, "A1.2")
70
+ end
71
+
72
+ # Modify all Transactions of all Accounts*
73
+ def test_modify_all_transactions_of_all_accounts
74
+ execption = assert_raises(Figo::Error) { @sut.modify_transactions(false) }
75
+ assert "Missing, invalid or expired access token.", execption.message
76
+ # assert @sut.modify_transactions(false)
77
+ end
78
+
79
+ # Delete a Transaction
80
+ def test_delete_transaction
81
+ tID = @sut.get_account("A1.2").transactions[-1].transaction_id
82
+
83
+ execption = assert_raises(Figo::Error) { @sut.modify_transactions("A1.2", tID) }
84
+ assert "Missing, invalid or expired access token.", execption.message
85
+ # assert @sut.modify_transactions("A1.2", tID)
86
+ end
87
+ end
@@ -0,0 +1,91 @@
1
+ #
2
+ # Copyright (c) 2013 figo GmbH
3
+ #
4
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
5
+ # of this software and associated documentation files (the "Software"), to deal
6
+ # in the Software without restriction, including without limitation the rights
7
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ # copies of the Software, and to permit persons to whom the Software is
9
+ # furnished to do so, subject to the following conditions:
10
+ #
11
+ # The above copyright notice and this permission notice shall be included in
12
+ # all copies or substantial portions of the Software.
13
+ #
14
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20
+ # THE SOFTWARE.
21
+ #
22
+
23
+ require "flt"
24
+ require "minitest/autorun"
25
+ require "minitest/reporters"
26
+ Minitest::Reporters.use! Minitest::Reporters::SpecReporter.new
27
+ require_relative "../lib/figo"
28
+
29
+ class FigoTest < MiniTest::Unit::TestCase
30
+ def setup
31
+ @sut = Figo::Session.new(CONFIG["ACCESS_TOKEN"])
32
+ @con = Figo::Connection.new(CONFIG["CLIENT_ID"], CONFIG["CLIENT_SECRET"])
33
+ end
34
+
35
+ ## User Management
36
+ # Retrieve Current User
37
+ def test_retreive_current_user
38
+ assert @sut.user
39
+ end
40
+
41
+ # Create New Figo User
42
+ def test_create_new_figo_user
43
+ execption = assert_raises(Figo::Error) { @con.create_user("John Doe", "jd@example.io", "123456", "en") }
44
+ assert "Missing, invalid or expired access token.", execption.message
45
+ # assert @con.create_user("John Doe", "jd@example.io", "123456", "en")
46
+ end
47
+
48
+ # Re-Send Verification Email
49
+ def test_resend_verififcation_email
50
+ execption = assert_raises(Figo::Error) { @sut.resend_verification }
51
+ assert "Missing, invalid or expired access token.", execption.message
52
+ # assert_nil @sut.resend_verification
53
+ end
54
+
55
+ # Modify Current User
56
+ def test_modify_current_user
57
+ old_user = @sut.user
58
+ new_user_hash = {
59
+ address: {
60
+ city: "Hamburg",
61
+ company: "blablabla",
62
+ postal_code: "10969",
63
+ street: "Ritterstr. 2-3"
64
+ },
65
+ email: "demo@figo.me",
66
+ join_date: "2012-04-19T17:25:54.000Z",
67
+ language: "en",
68
+ name: "ola ola",
69
+ premium: true,
70
+ premium_expires_on: "2014-04-19T17:25:54.000Z",
71
+ premium_subscription: "paymill",
72
+ send_newsletter: true,
73
+ user_id: "U12345",
74
+ verified_email: true
75
+ }
76
+ new_user = Figo::User.new(@sut, new_user_hash)
77
+
78
+
79
+ execption = assert_raises(Figo::Error) { @sut.modify_user(new_user) }
80
+ assert "Missing, invalid or expired access token.", execption.message
81
+ # api_user = @sut.modify_user(new_user)
82
+ # assert_equal api_user.address["company"], "blablabla"
83
+ end
84
+
85
+ # Delete Current User
86
+ def test_delete_current_user
87
+ execption = assert_raises(Figo::Error) { @sut.remove_user }
88
+ assert "Missing, invalid or expired access token.", execption.message
89
+ # assert_nil @sut.remove_user
90
+ end
91
+ end
metadata CHANGED
@@ -1,61 +1,100 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: figo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.5
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
- - Stefan Richter
7
+ - Denys Zaliskyi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-29 00:00:00.000000000 Z
11
+ date: 2016-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: flt
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: net-http-persistent
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  description: Library to easily use the API of http://figo.io
42
42
  email:
43
- - stefan.richter@figo.me
43
+ - dz@figo.me
44
44
  executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
- - .gitignore
49
- - .travis.yml
48
+ - ".gitignore"
49
+ - ".travis.yml"
50
50
  - Gemfile
51
51
  - README.md
52
52
  - Rakefile
53
+ - config.yml
53
54
  - console_demo.rb
54
55
  - figo.gemspec
56
+ - lib/account/api_call.rb
57
+ - lib/account/model.rb
58
+ - lib/account_balance/api_call.rb
59
+ - lib/account_balance/model.rb
60
+ - lib/authentification/api_call.rb
61
+ - lib/bank/api_call.rb
62
+ - lib/bank/model.rb
63
+ - lib/base.rb
55
64
  - lib/cacert.pem
56
65
  - lib/figo.rb
57
- - lib/models.rb
66
+ - lib/helpers/error.rb
67
+ - lib/helpers/https.rb
68
+ - lib/notification/api_call.rb
69
+ - lib/notification/model.rb
70
+ - lib/payment/api_call.rb
71
+ - lib/payment/model.rb
72
+ - lib/process/api_call.rb
73
+ - lib/process/model.rb
74
+ - lib/security/api_call.rb
75
+ - lib/security/model.rb
76
+ - lib/standing_order/api_call.rb
77
+ - lib/standing_order/model.rb
78
+ - lib/synchronization_status/api_call.rb
79
+ - lib/synchronization_status/model.rb
80
+ - lib/task/api_call.rb
81
+ - lib/task/model.rb
82
+ - lib/transaction/api_call.rb
83
+ - lib/transaction/model.rb
84
+ - lib/user/api_call.rb
85
+ - lib/user/model.rb
86
+ - test/config.yml
87
+ - test/test_account_sync_and_setup.rb
88
+ - test/test_accounts.rb
89
+ - test/test_authentififcation.rb
90
+ - test/test_business_processes.rb
58
91
  - test/test_figo.rb
92
+ - test/test_notifications.rb
93
+ - test/test_payments.rb
94
+ - test/test_securities.rb
95
+ - test/test_standing_orders.rb
96
+ - test/test_transactions.rb
97
+ - test/test_user_management.rb
59
98
  - web_demo/app.rb
60
99
  - web_demo/public/banking.css
61
100
  - web_demo/public/favicon.ico
@@ -71,19 +110,30 @@ require_paths:
71
110
  - lib
72
111
  required_ruby_version: !ruby/object:Gem::Requirement
73
112
  requirements:
74
- - - '>='
113
+ - - ">="
75
114
  - !ruby/object:Gem::Version
76
115
  version: '0'
77
116
  required_rubygems_version: !ruby/object:Gem::Requirement
78
117
  requirements:
79
- - - '>='
118
+ - - ">="
80
119
  - !ruby/object:Gem::Version
81
120
  version: '0'
82
121
  requirements: []
83
122
  rubyforge_project:
84
- rubygems_version: 2.0.14
123
+ rubygems_version: 2.6.6
85
124
  signing_key:
86
125
  specification_version: 4
87
126
  summary: API wrapper for figo Connect.
88
127
  test_files:
128
+ - test/config.yml
129
+ - test/test_account_sync_and_setup.rb
130
+ - test/test_accounts.rb
131
+ - test/test_authentififcation.rb
132
+ - test/test_business_processes.rb
89
133
  - test/test_figo.rb
134
+ - test/test_notifications.rb
135
+ - test/test_payments.rb
136
+ - test/test_securities.rb
137
+ - test/test_standing_orders.rb
138
+ - test/test_transactions.rb
139
+ - test/test_user_management.rb