investec_open_api 1.0.1 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/main.yml +30 -0
- data/.ruby-version +1 -1
- data/.travis.yml +2 -2
- data/Gemfile +2 -8
- data/Gemfile.lock +87 -54
- data/README.md +13 -6
- data/bin/console +4 -4
- data/investec_open_api.gemspec +14 -3
- data/lib/investec_open_api/camel_case_refinement.rb +12 -0
- data/lib/investec_open_api/client.rb +24 -15
- data/lib/investec_open_api/models/transaction.rb +5 -1
- data/lib/investec_open_api/version.rb +1 -1
- data/lib/investec_open_api.rb +3 -3
- metadata +110 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2dd0d8bf1f96bd2938b03a10a769c4a133756250d2241339d0c852f40e0af16b
|
4
|
+
data.tar.gz: 04fbd85515e99a1cf8f4bd016ad1d9f32eb69e1c5e49bb74a510d3e4db81183a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00a186874f8951b24da32ad631b354c72a3f8dba0a50b660d1307d258596b3aeb1e116e29a77775f20b5db6f861c6f4dcb55c4cb6dff8727b25ab72ac117f314
|
7
|
+
data.tar.gz: 859a6740f4d34260b0d026cb4d8ee3f647722cdcd714885fb0c60f90ebc6872b03a70dde2233f3e761586d5e811d9d6c2c172e6ce3e94658ee3add71dae522c2
|
@@ -0,0 +1,30 @@
|
|
1
|
+
name: CI
|
2
|
+
on:
|
3
|
+
push:
|
4
|
+
branches:
|
5
|
+
- master
|
6
|
+
|
7
|
+
pull_request:
|
8
|
+
branches:
|
9
|
+
- master
|
10
|
+
|
11
|
+
jobs:
|
12
|
+
build:
|
13
|
+
runs-on: ubuntu-latest
|
14
|
+
name: Run Specs
|
15
|
+
|
16
|
+
steps:
|
17
|
+
- uses: actions/checkout@v2
|
18
|
+
- uses: ruby/setup-ruby@v1
|
19
|
+
with:
|
20
|
+
ruby-version: 3.1.1
|
21
|
+
|
22
|
+
- name: Run bundle install
|
23
|
+
run: |
|
24
|
+
gem install bundler
|
25
|
+
bundle install --jobs 4 --retry 3
|
26
|
+
|
27
|
+
- name: Build and test with rspec
|
28
|
+
env:
|
29
|
+
RAILS_ENV: test
|
30
|
+
run: bundle exec rspec spec
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
3.2.0
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
@@ -1,12 +1,6 @@
|
|
1
1
|
source "https://rubygems.org"
|
2
2
|
|
3
3
|
# Specify your gem's dependencies in investec_open_api.gemspec
|
4
|
-
|
4
|
+
gemspec
|
5
5
|
|
6
|
-
gem
|
7
|
-
gem "rspec", "~> 3.0"
|
8
|
-
gem "active_attr"
|
9
|
-
gem "money"
|
10
|
-
gem "faraday"
|
11
|
-
gem "faraday_middleware"
|
12
|
-
gem "webmock"
|
6
|
+
gem 'pry'
|
data/Gemfile.lock
CHANGED
@@ -1,67 +1,104 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
investec_open_api (1.1.1)
|
5
|
+
active_attr
|
6
|
+
faraday
|
7
|
+
faraday_middleware
|
8
|
+
money
|
9
|
+
|
1
10
|
GEM
|
2
11
|
remote: https://rubygems.org/
|
3
12
|
specs:
|
4
|
-
actionpack (
|
5
|
-
actionview (=
|
6
|
-
activesupport (=
|
7
|
-
rack (~> 2.0, >= 2.0
|
13
|
+
actionpack (7.0.4.3)
|
14
|
+
actionview (= 7.0.4.3)
|
15
|
+
activesupport (= 7.0.4.3)
|
16
|
+
rack (~> 2.0, >= 2.2.0)
|
8
17
|
rack-test (>= 0.6.3)
|
9
18
|
rails-dom-testing (~> 2.0)
|
10
19
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
11
|
-
actionview (
|
12
|
-
activesupport (=
|
20
|
+
actionview (7.0.4.3)
|
21
|
+
activesupport (= 7.0.4.3)
|
13
22
|
builder (~> 3.1)
|
14
23
|
erubi (~> 1.4)
|
15
24
|
rails-dom-testing (~> 2.0)
|
16
25
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
17
|
-
active_attr (0.15.
|
18
|
-
actionpack (>= 3.0.2, <
|
19
|
-
activemodel (>= 3.0.2, <
|
20
|
-
activesupport (>= 3.0.2, <
|
21
|
-
activemodel (
|
22
|
-
activesupport (=
|
23
|
-
activesupport (
|
26
|
+
active_attr (0.15.4)
|
27
|
+
actionpack (>= 3.0.2, < 7.1)
|
28
|
+
activemodel (>= 3.0.2, < 7.1)
|
29
|
+
activesupport (>= 3.0.2, < 7.1)
|
30
|
+
activemodel (7.0.4.3)
|
31
|
+
activesupport (= 7.0.4.3)
|
32
|
+
activesupport (7.0.4.3)
|
24
33
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
25
|
-
i18n (>=
|
26
|
-
minitest (
|
27
|
-
tzinfo (~>
|
28
|
-
|
29
|
-
|
30
|
-
public_suffix (>= 2.0.2, < 5.0)
|
34
|
+
i18n (>= 1.6, < 2)
|
35
|
+
minitest (>= 5.1)
|
36
|
+
tzinfo (~> 2.0)
|
37
|
+
addressable (2.8.4)
|
38
|
+
public_suffix (>= 2.0.2, < 6.0)
|
31
39
|
builder (3.2.4)
|
32
|
-
|
33
|
-
|
34
|
-
|
40
|
+
coderay (1.1.3)
|
41
|
+
concurrent-ruby (1.2.2)
|
42
|
+
crack (0.4.5)
|
43
|
+
rexml
|
35
44
|
crass (1.0.6)
|
36
45
|
diff-lcs (1.4.4)
|
37
|
-
erubi (1.
|
38
|
-
faraday (1.
|
39
|
-
|
40
|
-
|
46
|
+
erubi (1.12.0)
|
47
|
+
faraday (1.10.3)
|
48
|
+
faraday-em_http (~> 1.0)
|
49
|
+
faraday-em_synchrony (~> 1.0)
|
50
|
+
faraday-excon (~> 1.1)
|
51
|
+
faraday-httpclient (~> 1.0)
|
52
|
+
faraday-multipart (~> 1.0)
|
53
|
+
faraday-net_http (~> 1.0)
|
54
|
+
faraday-net_http_persistent (~> 1.0)
|
55
|
+
faraday-patron (~> 1.0)
|
56
|
+
faraday-rack (~> 1.0)
|
57
|
+
faraday-retry (~> 1.0)
|
58
|
+
ruby2_keywords (>= 0.0.4)
|
59
|
+
faraday-em_http (1.0.0)
|
60
|
+
faraday-em_synchrony (1.0.0)
|
61
|
+
faraday-excon (1.1.0)
|
62
|
+
faraday-httpclient (1.0.1)
|
63
|
+
faraday-multipart (1.0.4)
|
64
|
+
multipart-post (~> 2)
|
65
|
+
faraday-net_http (1.0.1)
|
66
|
+
faraday-net_http_persistent (1.2.0)
|
67
|
+
faraday-patron (1.0.0)
|
68
|
+
faraday-rack (1.0.0)
|
69
|
+
faraday-retry (1.0.3)
|
70
|
+
faraday_middleware (1.2.0)
|
41
71
|
faraday (~> 1.0)
|
42
72
|
hashdiff (1.0.1)
|
43
|
-
i18n (1.
|
73
|
+
i18n (1.13.0)
|
44
74
|
concurrent-ruby (~> 1.0)
|
45
|
-
loofah (2.
|
75
|
+
loofah (2.20.0)
|
46
76
|
crass (~> 1.0.2)
|
47
77
|
nokogiri (>= 1.5.9)
|
48
|
-
|
49
|
-
|
50
|
-
|
78
|
+
method_source (1.0.0)
|
79
|
+
mini_portile2 (2.8.2)
|
80
|
+
minitest (5.18.0)
|
81
|
+
money (6.16.0)
|
51
82
|
i18n (>= 0.6.4, <= 2)
|
52
|
-
multipart-post (2.
|
53
|
-
nokogiri (1.
|
54
|
-
mini_portile2 (~> 2.
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
83
|
+
multipart-post (2.3.0)
|
84
|
+
nokogiri (1.14.3)
|
85
|
+
mini_portile2 (~> 2.8.0)
|
86
|
+
racc (~> 1.4)
|
87
|
+
pry (0.14.2)
|
88
|
+
coderay (~> 1.1)
|
89
|
+
method_source (~> 1.0)
|
90
|
+
public_suffix (5.0.1)
|
91
|
+
racc (1.6.2)
|
92
|
+
rack (2.2.7)
|
93
|
+
rack-test (2.1.0)
|
94
|
+
rack (>= 1.3)
|
59
95
|
rails-dom-testing (2.0.3)
|
60
96
|
activesupport (>= 4.2.0)
|
61
97
|
nokogiri (>= 1.6)
|
62
|
-
rails-html-sanitizer (1.
|
63
|
-
loofah (~> 2.
|
98
|
+
rails-html-sanitizer (1.5.0)
|
99
|
+
loofah (~> 2.19, >= 2.19.1)
|
64
100
|
rake (12.3.3)
|
101
|
+
rexml (3.2.5)
|
65
102
|
rspec (3.9.0)
|
66
103
|
rspec-core (~> 3.9.0)
|
67
104
|
rspec-expectations (~> 3.9.0)
|
@@ -75,27 +112,23 @@ GEM
|
|
75
112
|
diff-lcs (>= 1.2.0, < 2.0)
|
76
113
|
rspec-support (~> 3.9.0)
|
77
114
|
rspec-support (3.9.3)
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
addressable (>= 2.3.6)
|
115
|
+
ruby2_keywords (0.0.5)
|
116
|
+
tzinfo (2.0.6)
|
117
|
+
concurrent-ruby (~> 1.0)
|
118
|
+
webmock (3.18.1)
|
119
|
+
addressable (>= 2.8.0)
|
84
120
|
crack (>= 0.3.2)
|
85
121
|
hashdiff (>= 0.4.0, < 2.0.0)
|
86
|
-
zeitwerk (2.4.0)
|
87
122
|
|
88
123
|
PLATFORMS
|
89
124
|
ruby
|
90
125
|
|
91
126
|
DEPENDENCIES
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
rake (~> 12.0)
|
97
|
-
rspec (~> 3.0)
|
127
|
+
investec_open_api!
|
128
|
+
pry
|
129
|
+
rake
|
130
|
+
rspec
|
98
131
|
webmock
|
99
132
|
|
100
133
|
BUNDLED WITH
|
101
|
-
2.
|
134
|
+
2.4.12
|
data/README.md
CHANGED
@@ -1,9 +1,8 @@
|
|
1
1
|
# InvestecOpenApi Client
|
2
2
|
|
3
3
|
[](https://badge.fury.io/rb/investec_open_api)
|
4
|
-
[](https://travis-ci.com/Offerzen/investec_open_api)
|
5
4
|
|
6
|
-
A simple client wrapper for the [Investec Open API](https://developer.investec.com/
|
5
|
+
A simple client wrapper for the [Investec Open API](https://developer.investec.com/za/api-products).
|
7
6
|
|
8
7
|
*Features:*
|
9
8
|
|
@@ -35,13 +34,21 @@ Create a new initializer called `investec_open_api.rb` in `config/initializers`:
|
|
35
34
|
|
36
35
|
```ruby
|
37
36
|
InvestecOpenApi.configuration do |config|
|
38
|
-
config.
|
39
|
-
config.
|
40
|
-
config.
|
37
|
+
config.api_key = ENV['API_KEY']
|
38
|
+
config.client_id = ENV['CLIENT_ID']
|
39
|
+
config.client_secret = ENV['CLIENT_SECRET']
|
41
40
|
end
|
42
41
|
```
|
43
42
|
|
44
|
-
|
43
|
+
Create a new file in the root of your directory called `.env` and place the following:
|
44
|
+
|
45
|
+
```
|
46
|
+
API_KEY='YOUR API KEY'
|
47
|
+
CLIENT_ID='YOUR CLIENT ID'
|
48
|
+
CLIENT_SECRET='YOUR CLIENT SECRET'
|
49
|
+
```
|
50
|
+
|
51
|
+
You will need to register to get the following credentials. Follow the steps in [Enrolment in the documentation](https://developer.investec.com/programmable-banking/#enrolment).
|
45
52
|
|
46
53
|
|
47
54
|
## Usage
|
data/bin/console
CHANGED
@@ -7,8 +7,8 @@ require "investec_open_api"
|
|
7
7
|
# with your gem easier. You can also use a different console, if you like.
|
8
8
|
|
9
9
|
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
|
11
|
-
|
10
|
+
require "pry"
|
11
|
+
Pry.start
|
12
12
|
|
13
|
-
require "irb"
|
14
|
-
IRB.start(__FILE__)
|
13
|
+
# require "irb"
|
14
|
+
# IRB.start(__FILE__)
|
data/investec_open_api.gemspec
CHANGED
@@ -3,12 +3,12 @@ require_relative 'lib/investec_open_api/version'
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "investec_open_api"
|
5
5
|
spec.version = InvestecOpenApi::VERSION
|
6
|
-
spec.authors = ["
|
7
|
-
spec.email = ["
|
6
|
+
spec.authors = ["Community Core Team"]
|
7
|
+
spec.email = ["community@make.dev"]
|
8
8
|
|
9
9
|
spec.summary = %q{Investec Open API Wrapper}
|
10
10
|
spec.description = %q{A small wrapper client for accessing Investec's Open API}
|
11
|
-
spec.homepage = "https://github.com/
|
11
|
+
spec.homepage = "https://github.com/programmable-banking-community/investec_open_api"
|
12
12
|
spec.license = "MIT"
|
13
13
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
|
14
14
|
|
@@ -26,4 +26,15 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.bindir = "exe"
|
27
27
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
28
28
|
spec.require_paths = ["lib"]
|
29
|
+
|
30
|
+
# add runtime dependencies
|
31
|
+
spec.add_runtime_dependency 'active_attr'
|
32
|
+
spec.add_runtime_dependency 'faraday'
|
33
|
+
spec.add_runtime_dependency 'faraday_middleware'
|
34
|
+
spec.add_runtime_dependency 'money'
|
35
|
+
|
36
|
+
# add development dependencies
|
37
|
+
spec.add_development_dependency 'rake'
|
38
|
+
spec.add_development_dependency 'rspec'
|
39
|
+
spec.add_development_dependency 'webmock'
|
29
40
|
end
|
@@ -2,8 +2,12 @@ require "faraday"
|
|
2
2
|
require "faraday_middleware"
|
3
3
|
require "investec_open_api/models/account"
|
4
4
|
require "investec_open_api/models/transaction"
|
5
|
+
require "investec_open_api/camel_case_refinement"
|
5
6
|
|
6
7
|
class InvestecOpenApi::Client
|
8
|
+
using InvestecOpenApi::CamelCaseRefinement
|
9
|
+
INVESTEC_API_URL="https://openapi.investec.com/"
|
10
|
+
|
7
11
|
def authenticate!
|
8
12
|
@token = get_oauth_token["access_token"]
|
9
13
|
end
|
@@ -15,8 +19,15 @@ class InvestecOpenApi::Client
|
|
15
19
|
end
|
16
20
|
end
|
17
21
|
|
18
|
-
def transactions(account_id)
|
19
|
-
|
22
|
+
def transactions(account_id, options = {})
|
23
|
+
endpoint_url = "za/pb/v1/accounts/#{account_id}/transactions"
|
24
|
+
|
25
|
+
unless options.empty?
|
26
|
+
query_string = URI.encode_www_form(options.camelize)
|
27
|
+
endpoint_url += "?#{query_string}"
|
28
|
+
end
|
29
|
+
|
30
|
+
response = connection.get(endpoint_url)
|
20
31
|
response.body["data"]["transactions"].map do |transaction_raw|
|
21
32
|
InvestecOpenApi::Models::Transaction.from_api(transaction_raw)
|
22
33
|
end
|
@@ -25,24 +36,22 @@ class InvestecOpenApi::Client
|
|
25
36
|
private
|
26
37
|
|
27
38
|
def get_oauth_token
|
28
|
-
|
29
|
-
builder.headers["Accept"] = "application/json"
|
30
|
-
builder.basic_auth(InvestecOpenApi.api_username, InvestecOpenApi.api_password)
|
31
|
-
builder.response :raise_error
|
32
|
-
builder.response :json
|
33
|
-
builder.adapter Faraday.default_adapter
|
34
|
-
end
|
39
|
+
auth_token = Base64.strict_encode64("#{InvestecOpenApi.client_id}:#{InvestecOpenApi.client_secret}")
|
35
40
|
|
36
|
-
response =
|
37
|
-
|
38
|
-
|
39
|
-
|
41
|
+
response = Faraday.post(
|
42
|
+
"#{INVESTEC_API_URL}identity/v2/oauth2/token",
|
43
|
+
{ grant_type: "client_credentials" },
|
44
|
+
{
|
45
|
+
'x-api-key' => InvestecOpenApi.api_key,
|
46
|
+
'Authorization' => "Basic #{auth_token}"
|
47
|
+
}
|
48
|
+
)
|
40
49
|
|
41
|
-
response.body
|
50
|
+
JSON.parse(response.body)
|
42
51
|
end
|
43
52
|
|
44
53
|
def connection
|
45
|
-
@_connection ||= Faraday.new(url:
|
54
|
+
@_connection ||= Faraday.new(url: INVESTEC_API_URL) do |builder|
|
46
55
|
if @token
|
47
56
|
builder.headers["Authorization"] = "Bearer #{@token}"
|
48
57
|
end
|
@@ -3,6 +3,7 @@ require "money"
|
|
3
3
|
module InvestecOpenApi::Models
|
4
4
|
class Transaction < Base
|
5
5
|
attribute :account_id
|
6
|
+
attribute :posted_order
|
6
7
|
attribute :type
|
7
8
|
attribute :status
|
8
9
|
attribute :card_number
|
@@ -27,7 +28,10 @@ module InvestecOpenApi::Models
|
|
27
28
|
if params['amount'].present?
|
28
29
|
adjusted_amount = params['amount'] * 100
|
29
30
|
adjusted_amount = -adjusted_amount if params['type'] == 'DEBIT'
|
30
|
-
|
31
|
+
|
32
|
+
Money.rounding_mode = BigDecimal::ROUND_HALF_UP
|
33
|
+
Money.locale_backend = :i18n
|
34
|
+
params['amount'] = Money.from_cents(adjusted_amount, "ZAR")
|
31
35
|
end
|
32
36
|
|
33
37
|
if params['transactionDate']
|
data/lib/investec_open_api.rb
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
require "investec_open_api/version"
|
2
2
|
require "investec_open_api/models/base"
|
3
|
+
require "investec_open_api/camel_case_refinement"
|
4
|
+
require "investec_open_api/client"
|
3
5
|
|
4
6
|
module InvestecOpenApi
|
5
7
|
class Error < StandardError; end
|
6
8
|
|
7
|
-
|
8
|
-
mattr_accessor :api_url, :api_username, :api_password, :scope
|
9
|
-
end
|
9
|
+
mattr_accessor :api_key, :client_id, :client_secret, :scope
|
10
10
|
|
11
11
|
def self.configuration(&block)
|
12
12
|
yield self
|
metadata
CHANGED
@@ -1,24 +1,121 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: investec_open_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
8
|
-
- Jethro Flanagan
|
7
|
+
- Community Core Team
|
9
8
|
autorequire:
|
10
9
|
bindir: exe
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
13
|
-
dependencies:
|
11
|
+
date: 2023-06-28 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: active_attr
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: faraday
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: faraday_middleware
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: money
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
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: rspec
|
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: webmock
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
14
111
|
description: A small wrapper client for accessing Investec's Open API
|
15
112
|
email:
|
16
|
-
-
|
17
|
-
- jethroflanagan@gmail.com
|
113
|
+
- community@make.dev
|
18
114
|
executables: []
|
19
115
|
extensions: []
|
20
116
|
extra_rdoc_files: []
|
21
117
|
files:
|
118
|
+
- ".github/workflows/main.yml"
|
22
119
|
- ".gitignore"
|
23
120
|
- ".rspec"
|
24
121
|
- ".ruby-version"
|
@@ -33,19 +130,20 @@ files:
|
|
33
130
|
- bin/setup
|
34
131
|
- investec_open_api.gemspec
|
35
132
|
- lib/investec_open_api.rb
|
133
|
+
- lib/investec_open_api/camel_case_refinement.rb
|
36
134
|
- lib/investec_open_api/client.rb
|
37
135
|
- lib/investec_open_api/models/account.rb
|
38
136
|
- lib/investec_open_api/models/base.rb
|
39
137
|
- lib/investec_open_api/models/transaction.rb
|
40
138
|
- lib/investec_open_api/version.rb
|
41
|
-
homepage: https://github.com/
|
139
|
+
homepage: https://github.com/programmable-banking-community/investec_open_api
|
42
140
|
licenses:
|
43
141
|
- MIT
|
44
142
|
metadata:
|
45
143
|
allowed_push_host: https://rubygems.org
|
46
|
-
homepage_uri: https://github.com/
|
47
|
-
source_code_uri: https://github.com/
|
48
|
-
changelog_uri: https://github.com/
|
144
|
+
homepage_uri: https://github.com/programmable-banking-community/investec_open_api
|
145
|
+
source_code_uri: https://github.com/programmable-banking-community/investec_open_api
|
146
|
+
changelog_uri: https://github.com/programmable-banking-community/investec_open_api
|
49
147
|
post_install_message:
|
50
148
|
rdoc_options: []
|
51
149
|
require_paths:
|
@@ -61,7 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
61
159
|
- !ruby/object:Gem::Version
|
62
160
|
version: '0'
|
63
161
|
requirements: []
|
64
|
-
rubygems_version: 3.
|
162
|
+
rubygems_version: 3.4.1
|
65
163
|
signing_key:
|
66
164
|
specification_version: 4
|
67
165
|
summary: Investec Open API Wrapper
|