atrium-ruby 2.10.5 → 2.10.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/docs/Institution.md +1 -0
- data/docs/Member.md +1 -0
- data/lib/atrium-ruby/models/institution.rb +10 -1
- data/lib/atrium-ruby/models/member.rb +10 -1
- data/lib/atrium-ruby/version.rb +1 -1
- data/spec/models/institution_spec.rb +6 -0
- data/spec/models/member_spec.rb +6 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d2799944a659af868efa5f82876f03733526a9dc57be689638655a7f408e698
|
4
|
+
data.tar.gz: 6e583fa10b5f86aaa7f01fd8e760bf8f16f37bd287d9159cd7b16128d8639a36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a4e6cd906d86a4b66d7555c3057abd8a1b181d5f2f14cd7687659cfafe998b72f149bbec0967361bd6c88a6b4d7d78389ae6e758a0c1be6e2536ec3fc9a1fbf
|
7
|
+
data.tar.gz: e7bd75e785cf176e67f06523eb737469d476c34147f4c203013c2f3dccd3af5a9fe76c80a1733d37ba457d3e2c57009f59f61929d7f7c43c59ffb738e7e80e17
|
data/README.md
CHANGED
@@ -17,12 +17,12 @@ gem build atrium-ruby.gemspec
|
|
17
17
|
Then either install the gem locally:
|
18
18
|
|
19
19
|
```shell
|
20
|
-
gem install ./atrium-ruby-2.10.
|
20
|
+
gem install ./atrium-ruby-2.10.6.gem
|
21
21
|
```
|
22
22
|
|
23
23
|
Finally add this to the Gemfile:
|
24
24
|
|
25
|
-
gem 'atrium-ruby', '~> 2.10.
|
25
|
+
gem 'atrium-ruby', '~> 2.10.6'
|
26
26
|
|
27
27
|
### Install from Git
|
28
28
|
|
data/docs/Institution.md
CHANGED
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
10
10
|
**supports_account_identification** | **BOOLEAN** | | [optional]
|
11
11
|
**supports_account_statement** | **BOOLEAN** | | [optional]
|
12
12
|
**supports_account_verification** | **BOOLEAN** | | [optional]
|
13
|
+
**supports_oauth** | **BOOLEAN** | | [optional]
|
13
14
|
**supports_transaction_history** | **BOOLEAN** | | [optional]
|
14
15
|
**url** | **String** | | [optional]
|
15
16
|
|
data/docs/Member.md
CHANGED
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
9
9
|
**identifier** | **String** | | [optional]
|
10
10
|
**institution_code** | **String** | | [optional]
|
11
11
|
**is_being_aggregated** | **BOOLEAN** | | [optional]
|
12
|
+
**is_oauth** | **BOOLEAN** | | [optional]
|
12
13
|
**metadata** | **String** | | [optional]
|
13
14
|
**name** | **String** | | [optional]
|
14
15
|
**oauth_window_uri** | **String** | | [optional]
|
@@ -24,6 +24,8 @@ module Atrium
|
|
24
24
|
|
25
25
|
attr_accessor :supports_account_verification
|
26
26
|
|
27
|
+
attr_accessor :supports_oauth
|
28
|
+
|
27
29
|
attr_accessor :supports_transaction_history
|
28
30
|
|
29
31
|
attr_accessor :url
|
@@ -38,6 +40,7 @@ module Atrium
|
|
38
40
|
:'supports_account_identification' => :'supports_account_identification',
|
39
41
|
:'supports_account_statement' => :'supports_account_statement',
|
40
42
|
:'supports_account_verification' => :'supports_account_verification',
|
43
|
+
:'supports_oauth' => :'supports_oauth',
|
41
44
|
:'supports_transaction_history' => :'supports_transaction_history',
|
42
45
|
:'url' => :'url'
|
43
46
|
}
|
@@ -53,6 +56,7 @@ module Atrium
|
|
53
56
|
:'supports_account_identification' => :'BOOLEAN',
|
54
57
|
:'supports_account_statement' => :'BOOLEAN',
|
55
58
|
:'supports_account_verification' => :'BOOLEAN',
|
59
|
+
:'supports_oauth' => :'BOOLEAN',
|
56
60
|
:'supports_transaction_history' => :'BOOLEAN',
|
57
61
|
:'url' => :'String'
|
58
62
|
}
|
@@ -94,6 +98,10 @@ module Atrium
|
|
94
98
|
self.supports_account_verification = attributes[:'supports_account_verification']
|
95
99
|
end
|
96
100
|
|
101
|
+
if attributes.has_key?(:'supports_oauth')
|
102
|
+
self.supports_oauth = attributes[:'supports_oauth']
|
103
|
+
end
|
104
|
+
|
97
105
|
if attributes.has_key?(:'supports_transaction_history')
|
98
106
|
self.supports_transaction_history = attributes[:'supports_transaction_history']
|
99
107
|
end
|
@@ -128,6 +136,7 @@ module Atrium
|
|
128
136
|
supports_account_identification == o.supports_account_identification &&
|
129
137
|
supports_account_statement == o.supports_account_statement &&
|
130
138
|
supports_account_verification == o.supports_account_verification &&
|
139
|
+
supports_oauth == o.supports_oauth &&
|
131
140
|
supports_transaction_history == o.supports_transaction_history &&
|
132
141
|
url == o.url
|
133
142
|
end
|
@@ -141,7 +150,7 @@ module Atrium
|
|
141
150
|
# Calculates hash code according to all attributes.
|
142
151
|
# @return [Fixnum] Hash code
|
143
152
|
def hash
|
144
|
-
[code, medium_logo_url, name, small_logo_url, supports_account_identification, supports_account_statement, supports_account_verification, supports_transaction_history, url].hash
|
153
|
+
[code, medium_logo_url, name, small_logo_url, supports_account_identification, supports_account_statement, supports_account_verification, supports_oauth, supports_transaction_history, url].hash
|
145
154
|
end
|
146
155
|
|
147
156
|
# Builds the object from hash
|
@@ -22,6 +22,8 @@ module Atrium
|
|
22
22
|
|
23
23
|
attr_accessor :is_being_aggregated
|
24
24
|
|
25
|
+
attr_accessor :is_oauth
|
26
|
+
|
25
27
|
attr_accessor :metadata
|
26
28
|
|
27
29
|
attr_accessor :name
|
@@ -43,6 +45,7 @@ module Atrium
|
|
43
45
|
:'identifier' => :'identifier',
|
44
46
|
:'institution_code' => :'institution_code',
|
45
47
|
:'is_being_aggregated' => :'is_being_aggregated',
|
48
|
+
:'is_oauth' => :'is_oauth',
|
46
49
|
:'metadata' => :'metadata',
|
47
50
|
:'name' => :'name',
|
48
51
|
:'oauth_window_uri' => :'oauth_window_uri',
|
@@ -61,6 +64,7 @@ module Atrium
|
|
61
64
|
:'identifier' => :'String',
|
62
65
|
:'institution_code' => :'String',
|
63
66
|
:'is_being_aggregated' => :'BOOLEAN',
|
67
|
+
:'is_oauth' => :'BOOLEAN',
|
64
68
|
:'metadata' => :'String',
|
65
69
|
:'name' => :'String',
|
66
70
|
:'oauth_window_uri' => :'String',
|
@@ -102,6 +106,10 @@ module Atrium
|
|
102
106
|
self.is_being_aggregated = attributes[:'is_being_aggregated']
|
103
107
|
end
|
104
108
|
|
109
|
+
if attributes.has_key?(:'is_oauth')
|
110
|
+
self.is_oauth = attributes[:'is_oauth']
|
111
|
+
end
|
112
|
+
|
105
113
|
if attributes.has_key?(:'metadata')
|
106
114
|
self.metadata = attributes[:'metadata']
|
107
115
|
end
|
@@ -151,6 +159,7 @@ module Atrium
|
|
151
159
|
identifier == o.identifier &&
|
152
160
|
institution_code == o.institution_code &&
|
153
161
|
is_being_aggregated == o.is_being_aggregated &&
|
162
|
+
is_oauth == o.is_oauth &&
|
154
163
|
metadata == o.metadata &&
|
155
164
|
name == o.name &&
|
156
165
|
oauth_window_uri == o.oauth_window_uri &&
|
@@ -168,7 +177,7 @@ module Atrium
|
|
168
177
|
# Calculates hash code according to all attributes.
|
169
178
|
# @return [Fixnum] Hash code
|
170
179
|
def hash
|
171
|
-
[aggregated_at, connection_status, guid, identifier, institution_code, is_being_aggregated, metadata, name, oauth_window_uri, status, successfully_aggregated_at, user_guid].hash
|
180
|
+
[aggregated_at, connection_status, guid, identifier, institution_code, is_being_aggregated, is_oauth, metadata, name, oauth_window_uri, status, successfully_aggregated_at, user_guid].hash
|
172
181
|
end
|
173
182
|
|
174
183
|
# Builds the object from hash
|
data/lib/atrium-ruby/version.rb
CHANGED
@@ -69,6 +69,12 @@ describe 'Institution' do
|
|
69
69
|
end
|
70
70
|
end
|
71
71
|
|
72
|
+
describe 'test attribute "supports_oauth"' do
|
73
|
+
it 'should work' do
|
74
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
72
78
|
describe 'test attribute "supports_transaction_history"' do
|
73
79
|
it 'should work' do
|
74
80
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/models/member_spec.rb
CHANGED
@@ -63,6 +63,12 @@ describe 'Member' do
|
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
66
|
+
describe 'test attribute "is_oauth"' do
|
67
|
+
it 'should work' do
|
68
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
66
72
|
describe 'test attribute "metadata"' do
|
67
73
|
it 'should work' do
|
68
74
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: atrium-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.10.
|
4
|
+
version: 2.10.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MX
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-05-
|
11
|
+
date: 2021-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -455,7 +455,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
455
455
|
- !ruby/object:Gem::Version
|
456
456
|
version: '0'
|
457
457
|
requirements: []
|
458
|
-
rubygems_version: 3.
|
458
|
+
rubygems_version: 3.2.14
|
459
459
|
signing_key:
|
460
460
|
specification_version: 4
|
461
461
|
summary: Ruby wrapper for the Atrium API by MX
|