atrium-ruby 1.3.2 → 2.0.0
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 +5 -5
- data/Gemfile +5 -2
- data/README.md +132 -66
- data/Rakefile +7 -4
- data/atrium-ruby.gemspec +40 -32
- data/docs/Account.md +35 -0
- data/docs/AccountNumber.md +12 -0
- data/docs/AccountNumbersResponseBody.md +8 -0
- data/docs/AccountOwner.md +18 -0
- data/docs/AccountOwnersResponseBody.md +8 -0
- data/docs/AccountResponseBody.md +8 -0
- data/docs/AccountsApi.md +174 -0
- data/docs/AccountsResponseBody.md +9 -0
- data/docs/Challenge.md +13 -0
- data/docs/ChallengeOption.md +10 -0
- data/docs/ChallengesResponseBody.md +8 -0
- data/docs/ConnectWidget.md +9 -0
- data/docs/ConnectWidgetApi.md +44 -0
- data/docs/ConnectWidgetRequestBody.md +11 -0
- data/docs/ConnectWidgetResponseBody.md +8 -0
- data/docs/CredentialOption.md +9 -0
- data/docs/CredentialRequest.md +9 -0
- data/docs/CredentialResponse.md +12 -0
- data/docs/CredentialsResponseBody.md +8 -0
- data/docs/IdentityApi.md +82 -0
- data/docs/Institution.md +14 -0
- data/docs/InstitutionResponseBody.md +8 -0
- data/docs/InstitutionsApi.md +120 -0
- data/docs/InstitutionsResponseBody.md +9 -0
- data/docs/Member.md +18 -0
- data/docs/MemberConnectionStatus.md +16 -0
- data/docs/MemberConnectionStatusResponseBody.md +8 -0
- data/docs/MemberCreateRequest.md +11 -0
- data/docs/MemberCreateRequestBody.md +8 -0
- data/docs/MemberResponseBody.md +8 -0
- data/docs/MemberResumeRequest.md +8 -0
- data/docs/MemberResumeRequestBody.md +8 -0
- data/docs/MemberUpdateRequest.md +10 -0
- data/docs/MemberUpdateRequestBody.md +8 -0
- data/docs/MembersApi.md +487 -0
- data/docs/MembersResponseBody.md +9 -0
- data/docs/Pagination.md +11 -0
- data/docs/Transaction.md +38 -0
- data/docs/TransactionCleanseAndCategorizeRequest.md +11 -0
- data/docs/TransactionCleanseAndCategorizeResponse.md +20 -0
- data/docs/TransactionResponseBody.md +8 -0
- data/docs/TransactionsApi.md +126 -0
- data/docs/TransactionsCleanseAndCategorizeRequestBody.md +8 -0
- data/docs/TransactionsCleanseAndCategorizeResponseBody.md +8 -0
- data/docs/TransactionsResponseBody.md +9 -0
- data/docs/User.md +11 -0
- data/docs/UserCreateRequestBody.md +8 -0
- data/docs/UserResponseBody.md +8 -0
- data/docs/UserUpdateRequestBody.md +8 -0
- data/docs/UsersApi.md +193 -0
- data/docs/UsersResponseBody.md +9 -0
- data/docs/VerificationApi.md +120 -0
- data/git_push.sh +49 -0
- data/lib/atrium-ruby.rb +88 -0
- data/lib/atrium-ruby/api/accounts_api.rb +272 -0
- data/lib/atrium-ruby/api/atrium_client.rb +28 -0
- data/lib/atrium-ruby/api/connect_widget_api.rb +82 -0
- data/lib/atrium-ruby/api/identity_api.rb +140 -0
- data/lib/atrium-ruby/api/institutions_api.rb +181 -0
- data/lib/atrium-ruby/api/members_api.rb +749 -0
- data/lib/atrium-ruby/api/transactions_api.rb +198 -0
- data/lib/atrium-ruby/api/users_api.rb +287 -0
- data/lib/atrium-ruby/api/verification_api.rb +198 -0
- data/lib/atrium-ruby/api_client.rb +384 -0
- data/lib/atrium-ruby/api_error.rb +34 -0
- data/lib/atrium-ruby/configuration.rb +212 -0
- data/lib/atrium-ruby/models/account.rb +422 -0
- data/lib/atrium-ruby/models/account_number.rb +215 -0
- data/lib/atrium-ruby/models/account_numbers_response_body.rb +181 -0
- data/lib/atrium-ruby/models/account_owner.rb +269 -0
- data/lib/atrium-ruby/models/account_owners_response_body.rb +181 -0
- data/lib/atrium-ruby/models/account_response_body.rb +179 -0
- data/lib/atrium-ruby/models/accounts_response_body.rb +190 -0
- data/lib/atrium-ruby/models/challenge.rb +226 -0
- data/lib/atrium-ruby/models/challenge_option.rb +197 -0
- data/lib/atrium-ruby/models/challenges_response_body.rb +181 -0
- data/lib/atrium-ruby/models/connect_widget.rb +188 -0
- data/lib/atrium-ruby/models/connect_widget_request_body.rb +206 -0
- data/lib/atrium-ruby/models/connect_widget_response_body.rb +179 -0
- data/lib/atrium-ruby/models/credential_option.rb +188 -0
- data/lib/atrium-ruby/models/credential_request.rb +188 -0
- data/lib/atrium-ruby/models/credential_response.rb +217 -0
- data/lib/atrium-ruby/models/credentials_response_body.rb +181 -0
- data/lib/atrium-ruby/models/institution.rb +233 -0
- data/lib/atrium-ruby/models/institution_response_body.rb +179 -0
- data/lib/atrium-ruby/models/institutions_response_body.rb +190 -0
- data/lib/atrium-ruby/models/member.rb +269 -0
- data/lib/atrium-ruby/models/member_connection_status.rb +253 -0
- data/lib/atrium-ruby/models/member_connection_status_response_body.rb +179 -0
- data/lib/atrium-ruby/models/member_create_request.rb +218 -0
- data/lib/atrium-ruby/models/member_create_request_body.rb +179 -0
- data/lib/atrium-ruby/models/member_response_body.rb +179 -0
- data/lib/atrium-ruby/models/member_resume_request.rb +181 -0
- data/lib/atrium-ruby/models/member_resume_request_body.rb +179 -0
- data/lib/atrium-ruby/models/member_update_request.rb +199 -0
- data/lib/atrium-ruby/models/member_update_request_body.rb +179 -0
- data/lib/atrium-ruby/models/members_response_body.rb +190 -0
- data/lib/atrium-ruby/models/pagination.rb +206 -0
- data/lib/atrium-ruby/models/transaction.rb +449 -0
- data/lib/atrium-ruby/models/transaction_cleanse_and_categorize_request.rb +206 -0
- data/lib/atrium-ruby/models/transaction_cleanse_and_categorize_response.rb +287 -0
- data/lib/atrium-ruby/models/transaction_response_body.rb +179 -0
- data/lib/atrium-ruby/models/transactions_cleanse_and_categorize_request_body.rb +181 -0
- data/lib/atrium-ruby/models/transactions_cleanse_and_categorize_response_body.rb +181 -0
- data/lib/atrium-ruby/models/transactions_response_body.rb +190 -0
- data/lib/atrium-ruby/models/user.rb +206 -0
- data/lib/atrium-ruby/models/user_create_request_body.rb +179 -0
- data/lib/atrium-ruby/models/user_response_body.rb +179 -0
- data/lib/atrium-ruby/models/user_update_request_body.rb +179 -0
- data/lib/atrium-ruby/models/users_response_body.rb +190 -0
- data/lib/atrium-ruby/version.rb +11 -0
- data/spec/api/accounts_api_spec.rb +88 -0
- data/spec/api/connect_widget_api_spec.rb +43 -0
- data/spec/api/identity_api_spec.rb +56 -0
- data/spec/api/institutions_api_spec.rb +68 -0
- data/spec/api/members_api_spec.rb +195 -0
- data/spec/api/transactions_api_spec.rb +71 -0
- data/spec/api/users_api_spec.rb +92 -0
- data/spec/api/verification_api_spec.rb +69 -0
- data/spec/api_client_spec.rb +222 -0
- data/spec/configuration_spec.rb +38 -0
- data/spec/models/account_number_spec.rb +60 -0
- data/spec/models/account_numbers_response_body_spec.rb +36 -0
- data/spec/models/account_owner_spec.rb +96 -0
- data/spec/models/account_owners_response_body_spec.rb +36 -0
- data/spec/models/account_response_body_spec.rb +36 -0
- data/spec/models/account_spec.rb +198 -0
- data/spec/models/accounts_response_body_spec.rb +42 -0
- data/spec/models/challenge_option_spec.rb +48 -0
- data/spec/models/challenge_spec.rb +66 -0
- data/spec/models/challenges_response_body_spec.rb +36 -0
- data/spec/models/connect_widget_request_body_spec.rb +54 -0
- data/spec/models/connect_widget_response_body_spec.rb +36 -0
- data/spec/models/connect_widget_spec.rb +42 -0
- data/spec/models/credential_option_spec.rb +42 -0
- data/spec/models/credential_request_spec.rb +42 -0
- data/spec/models/credential_response_spec.rb +60 -0
- data/spec/models/credentials_response_body_spec.rb +36 -0
- data/spec/models/institution_response_body_spec.rb +36 -0
- data/spec/models/institution_spec.rb +72 -0
- data/spec/models/institutions_response_body_spec.rb +42 -0
- data/spec/models/member_connection_status_response_body_spec.rb +36 -0
- data/spec/models/member_connection_status_spec.rb +84 -0
- data/spec/models/member_create_request_body_spec.rb +36 -0
- data/spec/models/member_create_request_spec.rb +54 -0
- data/spec/models/member_response_body_spec.rb +36 -0
- data/spec/models/member_resume_request_body_spec.rb +36 -0
- data/spec/models/member_resume_request_spec.rb +36 -0
- data/spec/models/member_spec.rb +96 -0
- data/spec/models/member_update_request_body_spec.rb +36 -0
- data/spec/models/member_update_request_spec.rb +48 -0
- data/spec/models/members_response_body_spec.rb +42 -0
- data/spec/models/pagination_spec.rb +54 -0
- data/spec/models/transaction_cleanse_and_categorize_request_spec.rb +54 -0
- data/spec/models/transaction_cleanse_and_categorize_response_spec.rb +108 -0
- data/spec/models/transaction_response_body_spec.rb +36 -0
- data/spec/models/transaction_spec.rb +216 -0
- data/spec/models/transactions_cleanse_and_categorize_request_body_spec.rb +36 -0
- data/spec/models/transactions_cleanse_and_categorize_response_body_spec.rb +36 -0
- data/spec/models/transactions_response_body_spec.rb +42 -0
- data/spec/models/user_create_request_body_spec.rb +36 -0
- data/spec/models/user_response_body_spec.rb +36 -0
- data/spec/models/user_spec.rb +54 -0
- data/spec/models/user_update_request_body_spec.rb +36 -0
- data/spec/models/users_response_body_spec.rb +42 -0
- data/spec/spec_helper.rb +107 -0
- metadata +323 -91
- data/.gitignore +0 -10
- data/.rubocop.yml +0 -12
- data/.travis.yml +0 -12
- data/bin/console +0 -14
- data/bin/demo +0 -49
- data/bin/setup +0 -8
- data/examples/accounts_and_transactions.rb +0 -49
- data/examples/all_endpoints.rb +0 -226
- data/examples/example_workflow.rb +0 -176
- data/examples/multi_factor_authentication.rb +0 -57
- data/examples/update_credentials.rb +0 -58
- data/examples/user_and_member_creation.rb +0 -53
- data/lib/atrium.rb +0 -40
- data/lib/atrium/account.rb +0 -100
- data/lib/atrium/account_number.rb +0 -13
- data/lib/atrium/account_owner.rb +0 -19
- data/lib/atrium/challenge.rb +0 -13
- data/lib/atrium/client.rb +0 -51
- data/lib/atrium/connect.rb +0 -34
- data/lib/atrium/credential.rb +0 -11
- data/lib/atrium/error.rb +0 -4
- data/lib/atrium/institution.rb +0 -38
- data/lib/atrium/member.rb +0 -264
- data/lib/atrium/pageable.rb +0 -74
- data/lib/atrium/paginate.rb +0 -92
- data/lib/atrium/ruby.rb +0 -3
- data/lib/atrium/transaction.rb +0 -74
- data/lib/atrium/user.rb +0 -150
- data/lib/atrium/version.rb +0 -3
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Atrium::AccountsResponseBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**accounts** | [**Array<Account>**](Account.md) | | [optional]
|
|
7
|
+
**pagination** | [**Pagination**](Pagination.md) | | [optional]
|
|
8
|
+
|
|
9
|
+
|
data/docs/Challenge.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Atrium::Challenge
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**field_name** | **String** | | [optional]
|
|
7
|
+
**guid** | **String** | | [optional]
|
|
8
|
+
**image_data** | **String** | | [optional]
|
|
9
|
+
**label** | **String** | | [optional]
|
|
10
|
+
**options** | [**Array<ChallengeOption>**](ChallengeOption.md) | | [optional]
|
|
11
|
+
**type** | **String** | | [optional]
|
|
12
|
+
|
|
13
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Atrium::ChallengeOption
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**image_data** | **String** | | [optional]
|
|
7
|
+
**label** | **String** | | [optional]
|
|
8
|
+
**value** | **String** | | [optional]
|
|
9
|
+
|
|
10
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Atrium::ConnectWidgetApi
|
|
2
|
+
|
|
3
|
+
Method | HTTP request | Description
|
|
4
|
+
------------- | ------------- | -------------
|
|
5
|
+
[**get_connect_widget**](ConnectWidgetApi.md#get_connect_widget) | **POST** /users/{user_guid}/connect_widget_url | Embedding in a website
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
# **get_connect_widget**
|
|
9
|
+
> ConnectWidgetResponseBody get_connect_widget(user_guidbody)
|
|
10
|
+
|
|
11
|
+
Embedding in a website
|
|
12
|
+
|
|
13
|
+
This endpoint will return a URL for an embeddable version of MX Connect.
|
|
14
|
+
|
|
15
|
+
### Example
|
|
16
|
+
```ruby
|
|
17
|
+
# load the gem
|
|
18
|
+
require 'atrium-ruby'
|
|
19
|
+
|
|
20
|
+
client = Atrium::AtriumClient.new("YOUR_API_KEY", "YOUR_CLIENT_ID")
|
|
21
|
+
|
|
22
|
+
user_guid = "USR-123" # String | The unique identifier for a `user`.
|
|
23
|
+
body = Atrium::ConnectWidgetRequestBody.new # ConnectWidgetRequestBody | Optional config options for WebView (is_mobile_webview, current_institution_code, current_member_guid, update_credentials)
|
|
24
|
+
|
|
25
|
+
begin
|
|
26
|
+
#Embedding in a website
|
|
27
|
+
response = client.connectWidget.get_connect_widget(user_guidbody)
|
|
28
|
+
p response
|
|
29
|
+
rescue Atrium::ApiError => e
|
|
30
|
+
puts "Exception when calling ConnectWidgetApi->get_connect_widget: #{e}"
|
|
31
|
+
end
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Parameters
|
|
35
|
+
|
|
36
|
+
Name | Type | Description | Notes
|
|
37
|
+
------------- | ------------- | ------------- | -------------
|
|
38
|
+
**user_guid** | **String**| The unique identifier for a `user`. |
|
|
39
|
+
**body** | [**ConnectWidgetRequestBody**](ConnectWidgetRequestBody.md)| Optional config options for WebView (is_mobile_webview, current_institution_code, current_member_guid, update_credentials) |
|
|
40
|
+
|
|
41
|
+
### Return type
|
|
42
|
+
|
|
43
|
+
[**ConnectWidgetResponseBody**](ConnectWidgetResponseBody.md)
|
|
44
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Atrium::ConnectWidgetRequestBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**is_mobile_webview** | **BOOLEAN** | | [optional]
|
|
7
|
+
**current_institution_code** | **String** | | [optional]
|
|
8
|
+
**current_member_guid** | **String** | | [optional]
|
|
9
|
+
**update_credentials** | **BOOLEAN** | | [optional]
|
|
10
|
+
|
|
11
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Atrium::CredentialResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**field_name** | **String** | | [optional]
|
|
7
|
+
**guid** | **String** | | [optional]
|
|
8
|
+
**label** | **String** | | [optional]
|
|
9
|
+
**options** | [**Array<CredentialOption>**](CredentialOption.md) | | [optional]
|
|
10
|
+
**type** | **String** | | [optional]
|
|
11
|
+
|
|
12
|
+
|
data/docs/IdentityApi.md
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# Atrium::IdentityApi
|
|
2
|
+
|
|
3
|
+
Method | HTTP request | Description
|
|
4
|
+
------------- | ------------- | -------------
|
|
5
|
+
[**identify_member**](IdentityApi.md#identify_member) | **POST** /users/{user_guid}/members/{member_guid}/identify | Identify
|
|
6
|
+
[**list_account_owners**](IdentityApi.md#list_account_owners) | **GET** /users/{user_guid}/members/{member_guid}/account_owners | List member account owners
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
# **identify_member**
|
|
10
|
+
> MemberResponseBody identify_member(member_guid, user_guid)
|
|
11
|
+
|
|
12
|
+
Identify
|
|
13
|
+
|
|
14
|
+
The identify endpoint begins an identification process for an already-existing member.
|
|
15
|
+
|
|
16
|
+
### Example
|
|
17
|
+
```ruby
|
|
18
|
+
# load the gem
|
|
19
|
+
require 'atrium-ruby'
|
|
20
|
+
|
|
21
|
+
client = Atrium::AtriumClient.new("YOUR_API_KEY", "YOUR_CLIENT_ID")
|
|
22
|
+
|
|
23
|
+
member_guid = "MBR-123" # String | The unique identifier for a `member`.
|
|
24
|
+
user_guid = "USR-123" # String | The unique identifier for a `user`.
|
|
25
|
+
|
|
26
|
+
begin
|
|
27
|
+
#Identify
|
|
28
|
+
response = client.identity.identify_member(member_guid, user_guid)
|
|
29
|
+
p response
|
|
30
|
+
rescue Atrium::ApiError => e
|
|
31
|
+
puts "Exception when calling IdentityApi->identify_member: #{e}"
|
|
32
|
+
end
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Parameters
|
|
36
|
+
|
|
37
|
+
Name | Type | Description | Notes
|
|
38
|
+
------------- | ------------- | ------------- | -------------
|
|
39
|
+
**member_guid** | **String**| The unique identifier for a `member`. |
|
|
40
|
+
**user_guid** | **String**| The unique identifier for a `user`. |
|
|
41
|
+
|
|
42
|
+
### Return type
|
|
43
|
+
|
|
44
|
+
[**MemberResponseBody**](MemberResponseBody.md)
|
|
45
|
+
|
|
46
|
+
# **list_account_owners**
|
|
47
|
+
> AccountOwnersResponseBody list_account_owners(member_guid, user_guid)
|
|
48
|
+
|
|
49
|
+
List member account owners
|
|
50
|
+
|
|
51
|
+
This endpoint returns an array with information about every account associated with a particular member.
|
|
52
|
+
|
|
53
|
+
### Example
|
|
54
|
+
```ruby
|
|
55
|
+
# load the gem
|
|
56
|
+
require 'atrium-ruby'
|
|
57
|
+
|
|
58
|
+
client = Atrium::AtriumClient.new("YOUR_API_KEY", "YOUR_CLIENT_ID")
|
|
59
|
+
|
|
60
|
+
member_guid = "MBR-123" # String | The unique identifier for a `member`.
|
|
61
|
+
user_guid = "USR-123" # String | The unique identifier for a `user`.
|
|
62
|
+
|
|
63
|
+
begin
|
|
64
|
+
#List member account owners
|
|
65
|
+
response = client.identity.list_account_owners(member_guid, user_guid)
|
|
66
|
+
p response
|
|
67
|
+
rescue Atrium::ApiError => e
|
|
68
|
+
puts "Exception when calling IdentityApi->list_account_owners: #{e}"
|
|
69
|
+
end
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### Parameters
|
|
73
|
+
|
|
74
|
+
Name | Type | Description | Notes
|
|
75
|
+
------------- | ------------- | ------------- | -------------
|
|
76
|
+
**member_guid** | **String**| The unique identifier for a `member`. |
|
|
77
|
+
**user_guid** | **String**| The unique identifier for a `user`. |
|
|
78
|
+
|
|
79
|
+
### Return type
|
|
80
|
+
|
|
81
|
+
[**AccountOwnersResponseBody**](AccountOwnersResponseBody.md)
|
|
82
|
+
|
data/docs/Institution.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Atrium::Institution
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**code** | **String** | | [optional]
|
|
7
|
+
**medium_logo_url** | **String** | | [optional]
|
|
8
|
+
**name** | **String** | | [optional]
|
|
9
|
+
**small_logo_url** | **String** | | [optional]
|
|
10
|
+
**supports_account_identification** | **BOOLEAN** | | [optional]
|
|
11
|
+
**supports_account_verification** | **BOOLEAN** | | [optional]
|
|
12
|
+
**url** | **String** | | [optional]
|
|
13
|
+
|
|
14
|
+
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
# Atrium::InstitutionsApi
|
|
2
|
+
|
|
3
|
+
Method | HTTP request | Description
|
|
4
|
+
------------- | ------------- | -------------
|
|
5
|
+
[**list_institutions**](InstitutionsApi.md#list_institutions) | **GET** /institutions | List institutions
|
|
6
|
+
[**read_institution**](InstitutionsApi.md#read_institution) | **GET** /institutions/{institution_code} | Read institution
|
|
7
|
+
[**read_institution_credentials**](InstitutionsApi.md#read_institution_credentials) | **GET** /institutions/{institution_code}/credentials | Read institution credentials
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
# **list_institutions**
|
|
11
|
+
> InstitutionsResponseBody list_institutions(opts)
|
|
12
|
+
|
|
13
|
+
List institutions
|
|
14
|
+
|
|
15
|
+
This endpoint allows you to see what institutions are available for connection. Information returned will include the institution_code assigned to a particular institution, URLs for the financial institution's logo, and the URL for its website.<br> This endpoint takes an optional query string, name={string}. This will list only institutions in which the appended string appears.
|
|
16
|
+
|
|
17
|
+
### Example
|
|
18
|
+
```ruby
|
|
19
|
+
# load the gem
|
|
20
|
+
require 'atrium-ruby'
|
|
21
|
+
|
|
22
|
+
client = Atrium::AtriumClient.new("YOUR_API_KEY", "YOUR_CLIENT_ID")
|
|
23
|
+
|
|
24
|
+
opts = {
|
|
25
|
+
name: name_example, # String | This will list only institutions in which the appended string appears.
|
|
26
|
+
page: 1, # Integer | Specify current page.
|
|
27
|
+
records_per_page: 12, # Integer | Specify records per page.
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
begin
|
|
31
|
+
#List institutions
|
|
32
|
+
response = client.institutions.list_institutions(opts)
|
|
33
|
+
p response
|
|
34
|
+
rescue Atrium::ApiError => e
|
|
35
|
+
puts "Exception when calling InstitutionsApi->list_institutions: #{e}"
|
|
36
|
+
end
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### Parameters
|
|
40
|
+
|
|
41
|
+
Name | Type | Description | Notes
|
|
42
|
+
------------- | ------------- | ------------- | -------------
|
|
43
|
+
**name** | **String**| This will list only institutions in which the appended string appears. | [optional]
|
|
44
|
+
**page** | **Integer**| Specify current page. | [optional]
|
|
45
|
+
**records_per_page** | **Integer**| Specify records per page. | [optional]
|
|
46
|
+
|
|
47
|
+
### Return type
|
|
48
|
+
|
|
49
|
+
[**InstitutionsResponseBody**](InstitutionsResponseBody.md)
|
|
50
|
+
|
|
51
|
+
# **read_institution**
|
|
52
|
+
> InstitutionResponseBody read_institution(institution_code)
|
|
53
|
+
|
|
54
|
+
Read institution
|
|
55
|
+
|
|
56
|
+
This endpoint allows you to see information for a specific institution.
|
|
57
|
+
|
|
58
|
+
### Example
|
|
59
|
+
```ruby
|
|
60
|
+
# load the gem
|
|
61
|
+
require 'atrium-ruby'
|
|
62
|
+
|
|
63
|
+
client = Atrium::AtriumClient.new("YOUR_API_KEY", "YOUR_CLIENT_ID")
|
|
64
|
+
|
|
65
|
+
institution_code = "example_institution_code" # String | The institution_code of the institution.
|
|
66
|
+
|
|
67
|
+
begin
|
|
68
|
+
#Read institution
|
|
69
|
+
response = client.institutions.read_institution(institution_code)
|
|
70
|
+
p response
|
|
71
|
+
rescue Atrium::ApiError => e
|
|
72
|
+
puts "Exception when calling InstitutionsApi->read_institution: #{e}"
|
|
73
|
+
end
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
### Parameters
|
|
77
|
+
|
|
78
|
+
Name | Type | Description | Notes
|
|
79
|
+
------------- | ------------- | ------------- | -------------
|
|
80
|
+
**institution_code** | **String**| The institution_code of the institution. |
|
|
81
|
+
|
|
82
|
+
### Return type
|
|
83
|
+
|
|
84
|
+
[**InstitutionResponseBody**](InstitutionResponseBody.md)
|
|
85
|
+
|
|
86
|
+
# **read_institution_credentials**
|
|
87
|
+
> CredentialsResponseBody read_institution_credentials(institution_code)
|
|
88
|
+
|
|
89
|
+
Read institution credentials
|
|
90
|
+
|
|
91
|
+
Use this endpoint to see which credentials will be needed to create a member for a specific institution.
|
|
92
|
+
|
|
93
|
+
### Example
|
|
94
|
+
```ruby
|
|
95
|
+
# load the gem
|
|
96
|
+
require 'atrium-ruby'
|
|
97
|
+
|
|
98
|
+
client = Atrium::AtriumClient.new("YOUR_API_KEY", "YOUR_CLIENT_ID")
|
|
99
|
+
|
|
100
|
+
institution_code = "example_institution_code" # String | The institution_code of the institution.
|
|
101
|
+
|
|
102
|
+
begin
|
|
103
|
+
#Read institution credentials
|
|
104
|
+
response = client.institutions.read_institution_credentials(institution_code)
|
|
105
|
+
p response
|
|
106
|
+
rescue Atrium::ApiError => e
|
|
107
|
+
puts "Exception when calling InstitutionsApi->read_institution_credentials: #{e}"
|
|
108
|
+
end
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
### Parameters
|
|
112
|
+
|
|
113
|
+
Name | Type | Description | Notes
|
|
114
|
+
------------- | ------------- | ------------- | -------------
|
|
115
|
+
**institution_code** | **String**| The institution_code of the institution. |
|
|
116
|
+
|
|
117
|
+
### Return type
|
|
118
|
+
|
|
119
|
+
[**CredentialsResponseBody**](CredentialsResponseBody.md)
|
|
120
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Atrium::InstitutionsResponseBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**institutions** | [**Array<Institution>**](Institution.md) | | [optional]
|
|
7
|
+
**pagination** | [**Pagination**](Pagination.md) | | [optional]
|
|
8
|
+
|
|
9
|
+
|
data/docs/Member.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Atrium::Member
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**aggregated_at** | **String** | | [optional]
|
|
7
|
+
**connection_status** | **String** | | [optional]
|
|
8
|
+
**guid** | **BOOLEAN** | | [optional]
|
|
9
|
+
**identifier** | **String** | | [optional]
|
|
10
|
+
**institution_code** | **String** | | [optional]
|
|
11
|
+
**is_being_aggregated** | **BOOLEAN** | | [optional]
|
|
12
|
+
**metadata** | **String** | | [optional]
|
|
13
|
+
**name** | **String** | | [optional]
|
|
14
|
+
**status** | **String** | | [optional]
|
|
15
|
+
**successfully_aggregated_at** | **String** | | [optional]
|
|
16
|
+
**user_guid** | **String** | | [optional]
|
|
17
|
+
|
|
18
|
+
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Atrium::MemberConnectionStatus
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**aggregated_at** | **String** | | [optional]
|
|
7
|
+
**challenges** | [**Array<Challenge>**](Challenge.md) | | [optional]
|
|
8
|
+
**connection_status** | **String** | | [optional]
|
|
9
|
+
**guid** | **BOOLEAN** | | [optional]
|
|
10
|
+
**has_processed_accounts** | **BOOLEAN** | | [optional]
|
|
11
|
+
**has_processed_transactions** | **BOOLEAN** | | [optional]
|
|
12
|
+
**is_being_aggregated** | **BOOLEAN** | | [optional]
|
|
13
|
+
**status** | **String** | | [optional]
|
|
14
|
+
**successfully_aggregated_at** | **String** | | [optional]
|
|
15
|
+
|
|
16
|
+
|