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.
Files changed (201) hide show
  1. checksums.yaml +5 -5
  2. data/Gemfile +5 -2
  3. data/README.md +132 -66
  4. data/Rakefile +7 -4
  5. data/atrium-ruby.gemspec +40 -32
  6. data/docs/Account.md +35 -0
  7. data/docs/AccountNumber.md +12 -0
  8. data/docs/AccountNumbersResponseBody.md +8 -0
  9. data/docs/AccountOwner.md +18 -0
  10. data/docs/AccountOwnersResponseBody.md +8 -0
  11. data/docs/AccountResponseBody.md +8 -0
  12. data/docs/AccountsApi.md +174 -0
  13. data/docs/AccountsResponseBody.md +9 -0
  14. data/docs/Challenge.md +13 -0
  15. data/docs/ChallengeOption.md +10 -0
  16. data/docs/ChallengesResponseBody.md +8 -0
  17. data/docs/ConnectWidget.md +9 -0
  18. data/docs/ConnectWidgetApi.md +44 -0
  19. data/docs/ConnectWidgetRequestBody.md +11 -0
  20. data/docs/ConnectWidgetResponseBody.md +8 -0
  21. data/docs/CredentialOption.md +9 -0
  22. data/docs/CredentialRequest.md +9 -0
  23. data/docs/CredentialResponse.md +12 -0
  24. data/docs/CredentialsResponseBody.md +8 -0
  25. data/docs/IdentityApi.md +82 -0
  26. data/docs/Institution.md +14 -0
  27. data/docs/InstitutionResponseBody.md +8 -0
  28. data/docs/InstitutionsApi.md +120 -0
  29. data/docs/InstitutionsResponseBody.md +9 -0
  30. data/docs/Member.md +18 -0
  31. data/docs/MemberConnectionStatus.md +16 -0
  32. data/docs/MemberConnectionStatusResponseBody.md +8 -0
  33. data/docs/MemberCreateRequest.md +11 -0
  34. data/docs/MemberCreateRequestBody.md +8 -0
  35. data/docs/MemberResponseBody.md +8 -0
  36. data/docs/MemberResumeRequest.md +8 -0
  37. data/docs/MemberResumeRequestBody.md +8 -0
  38. data/docs/MemberUpdateRequest.md +10 -0
  39. data/docs/MemberUpdateRequestBody.md +8 -0
  40. data/docs/MembersApi.md +487 -0
  41. data/docs/MembersResponseBody.md +9 -0
  42. data/docs/Pagination.md +11 -0
  43. data/docs/Transaction.md +38 -0
  44. data/docs/TransactionCleanseAndCategorizeRequest.md +11 -0
  45. data/docs/TransactionCleanseAndCategorizeResponse.md +20 -0
  46. data/docs/TransactionResponseBody.md +8 -0
  47. data/docs/TransactionsApi.md +126 -0
  48. data/docs/TransactionsCleanseAndCategorizeRequestBody.md +8 -0
  49. data/docs/TransactionsCleanseAndCategorizeResponseBody.md +8 -0
  50. data/docs/TransactionsResponseBody.md +9 -0
  51. data/docs/User.md +11 -0
  52. data/docs/UserCreateRequestBody.md +8 -0
  53. data/docs/UserResponseBody.md +8 -0
  54. data/docs/UserUpdateRequestBody.md +8 -0
  55. data/docs/UsersApi.md +193 -0
  56. data/docs/UsersResponseBody.md +9 -0
  57. data/docs/VerificationApi.md +120 -0
  58. data/git_push.sh +49 -0
  59. data/lib/atrium-ruby.rb +88 -0
  60. data/lib/atrium-ruby/api/accounts_api.rb +272 -0
  61. data/lib/atrium-ruby/api/atrium_client.rb +28 -0
  62. data/lib/atrium-ruby/api/connect_widget_api.rb +82 -0
  63. data/lib/atrium-ruby/api/identity_api.rb +140 -0
  64. data/lib/atrium-ruby/api/institutions_api.rb +181 -0
  65. data/lib/atrium-ruby/api/members_api.rb +749 -0
  66. data/lib/atrium-ruby/api/transactions_api.rb +198 -0
  67. data/lib/atrium-ruby/api/users_api.rb +287 -0
  68. data/lib/atrium-ruby/api/verification_api.rb +198 -0
  69. data/lib/atrium-ruby/api_client.rb +384 -0
  70. data/lib/atrium-ruby/api_error.rb +34 -0
  71. data/lib/atrium-ruby/configuration.rb +212 -0
  72. data/lib/atrium-ruby/models/account.rb +422 -0
  73. data/lib/atrium-ruby/models/account_number.rb +215 -0
  74. data/lib/atrium-ruby/models/account_numbers_response_body.rb +181 -0
  75. data/lib/atrium-ruby/models/account_owner.rb +269 -0
  76. data/lib/atrium-ruby/models/account_owners_response_body.rb +181 -0
  77. data/lib/atrium-ruby/models/account_response_body.rb +179 -0
  78. data/lib/atrium-ruby/models/accounts_response_body.rb +190 -0
  79. data/lib/atrium-ruby/models/challenge.rb +226 -0
  80. data/lib/atrium-ruby/models/challenge_option.rb +197 -0
  81. data/lib/atrium-ruby/models/challenges_response_body.rb +181 -0
  82. data/lib/atrium-ruby/models/connect_widget.rb +188 -0
  83. data/lib/atrium-ruby/models/connect_widget_request_body.rb +206 -0
  84. data/lib/atrium-ruby/models/connect_widget_response_body.rb +179 -0
  85. data/lib/atrium-ruby/models/credential_option.rb +188 -0
  86. data/lib/atrium-ruby/models/credential_request.rb +188 -0
  87. data/lib/atrium-ruby/models/credential_response.rb +217 -0
  88. data/lib/atrium-ruby/models/credentials_response_body.rb +181 -0
  89. data/lib/atrium-ruby/models/institution.rb +233 -0
  90. data/lib/atrium-ruby/models/institution_response_body.rb +179 -0
  91. data/lib/atrium-ruby/models/institutions_response_body.rb +190 -0
  92. data/lib/atrium-ruby/models/member.rb +269 -0
  93. data/lib/atrium-ruby/models/member_connection_status.rb +253 -0
  94. data/lib/atrium-ruby/models/member_connection_status_response_body.rb +179 -0
  95. data/lib/atrium-ruby/models/member_create_request.rb +218 -0
  96. data/lib/atrium-ruby/models/member_create_request_body.rb +179 -0
  97. data/lib/atrium-ruby/models/member_response_body.rb +179 -0
  98. data/lib/atrium-ruby/models/member_resume_request.rb +181 -0
  99. data/lib/atrium-ruby/models/member_resume_request_body.rb +179 -0
  100. data/lib/atrium-ruby/models/member_update_request.rb +199 -0
  101. data/lib/atrium-ruby/models/member_update_request_body.rb +179 -0
  102. data/lib/atrium-ruby/models/members_response_body.rb +190 -0
  103. data/lib/atrium-ruby/models/pagination.rb +206 -0
  104. data/lib/atrium-ruby/models/transaction.rb +449 -0
  105. data/lib/atrium-ruby/models/transaction_cleanse_and_categorize_request.rb +206 -0
  106. data/lib/atrium-ruby/models/transaction_cleanse_and_categorize_response.rb +287 -0
  107. data/lib/atrium-ruby/models/transaction_response_body.rb +179 -0
  108. data/lib/atrium-ruby/models/transactions_cleanse_and_categorize_request_body.rb +181 -0
  109. data/lib/atrium-ruby/models/transactions_cleanse_and_categorize_response_body.rb +181 -0
  110. data/lib/atrium-ruby/models/transactions_response_body.rb +190 -0
  111. data/lib/atrium-ruby/models/user.rb +206 -0
  112. data/lib/atrium-ruby/models/user_create_request_body.rb +179 -0
  113. data/lib/atrium-ruby/models/user_response_body.rb +179 -0
  114. data/lib/atrium-ruby/models/user_update_request_body.rb +179 -0
  115. data/lib/atrium-ruby/models/users_response_body.rb +190 -0
  116. data/lib/atrium-ruby/version.rb +11 -0
  117. data/spec/api/accounts_api_spec.rb +88 -0
  118. data/spec/api/connect_widget_api_spec.rb +43 -0
  119. data/spec/api/identity_api_spec.rb +56 -0
  120. data/spec/api/institutions_api_spec.rb +68 -0
  121. data/spec/api/members_api_spec.rb +195 -0
  122. data/spec/api/transactions_api_spec.rb +71 -0
  123. data/spec/api/users_api_spec.rb +92 -0
  124. data/spec/api/verification_api_spec.rb +69 -0
  125. data/spec/api_client_spec.rb +222 -0
  126. data/spec/configuration_spec.rb +38 -0
  127. data/spec/models/account_number_spec.rb +60 -0
  128. data/spec/models/account_numbers_response_body_spec.rb +36 -0
  129. data/spec/models/account_owner_spec.rb +96 -0
  130. data/spec/models/account_owners_response_body_spec.rb +36 -0
  131. data/spec/models/account_response_body_spec.rb +36 -0
  132. data/spec/models/account_spec.rb +198 -0
  133. data/spec/models/accounts_response_body_spec.rb +42 -0
  134. data/spec/models/challenge_option_spec.rb +48 -0
  135. data/spec/models/challenge_spec.rb +66 -0
  136. data/spec/models/challenges_response_body_spec.rb +36 -0
  137. data/spec/models/connect_widget_request_body_spec.rb +54 -0
  138. data/spec/models/connect_widget_response_body_spec.rb +36 -0
  139. data/spec/models/connect_widget_spec.rb +42 -0
  140. data/spec/models/credential_option_spec.rb +42 -0
  141. data/spec/models/credential_request_spec.rb +42 -0
  142. data/spec/models/credential_response_spec.rb +60 -0
  143. data/spec/models/credentials_response_body_spec.rb +36 -0
  144. data/spec/models/institution_response_body_spec.rb +36 -0
  145. data/spec/models/institution_spec.rb +72 -0
  146. data/spec/models/institutions_response_body_spec.rb +42 -0
  147. data/spec/models/member_connection_status_response_body_spec.rb +36 -0
  148. data/spec/models/member_connection_status_spec.rb +84 -0
  149. data/spec/models/member_create_request_body_spec.rb +36 -0
  150. data/spec/models/member_create_request_spec.rb +54 -0
  151. data/spec/models/member_response_body_spec.rb +36 -0
  152. data/spec/models/member_resume_request_body_spec.rb +36 -0
  153. data/spec/models/member_resume_request_spec.rb +36 -0
  154. data/spec/models/member_spec.rb +96 -0
  155. data/spec/models/member_update_request_body_spec.rb +36 -0
  156. data/spec/models/member_update_request_spec.rb +48 -0
  157. data/spec/models/members_response_body_spec.rb +42 -0
  158. data/spec/models/pagination_spec.rb +54 -0
  159. data/spec/models/transaction_cleanse_and_categorize_request_spec.rb +54 -0
  160. data/spec/models/transaction_cleanse_and_categorize_response_spec.rb +108 -0
  161. data/spec/models/transaction_response_body_spec.rb +36 -0
  162. data/spec/models/transaction_spec.rb +216 -0
  163. data/spec/models/transactions_cleanse_and_categorize_request_body_spec.rb +36 -0
  164. data/spec/models/transactions_cleanse_and_categorize_response_body_spec.rb +36 -0
  165. data/spec/models/transactions_response_body_spec.rb +42 -0
  166. data/spec/models/user_create_request_body_spec.rb +36 -0
  167. data/spec/models/user_response_body_spec.rb +36 -0
  168. data/spec/models/user_spec.rb +54 -0
  169. data/spec/models/user_update_request_body_spec.rb +36 -0
  170. data/spec/models/users_response_body_spec.rb +42 -0
  171. data/spec/spec_helper.rb +107 -0
  172. metadata +323 -91
  173. data/.gitignore +0 -10
  174. data/.rubocop.yml +0 -12
  175. data/.travis.yml +0 -12
  176. data/bin/console +0 -14
  177. data/bin/demo +0 -49
  178. data/bin/setup +0 -8
  179. data/examples/accounts_and_transactions.rb +0 -49
  180. data/examples/all_endpoints.rb +0 -226
  181. data/examples/example_workflow.rb +0 -176
  182. data/examples/multi_factor_authentication.rb +0 -57
  183. data/examples/update_credentials.rb +0 -58
  184. data/examples/user_and_member_creation.rb +0 -53
  185. data/lib/atrium.rb +0 -40
  186. data/lib/atrium/account.rb +0 -100
  187. data/lib/atrium/account_number.rb +0 -13
  188. data/lib/atrium/account_owner.rb +0 -19
  189. data/lib/atrium/challenge.rb +0 -13
  190. data/lib/atrium/client.rb +0 -51
  191. data/lib/atrium/connect.rb +0 -34
  192. data/lib/atrium/credential.rb +0 -11
  193. data/lib/atrium/error.rb +0 -4
  194. data/lib/atrium/institution.rb +0 -38
  195. data/lib/atrium/member.rb +0 -264
  196. data/lib/atrium/pageable.rb +0 -74
  197. data/lib/atrium/paginate.rb +0 -92
  198. data/lib/atrium/ruby.rb +0 -3
  199. data/lib/atrium/transaction.rb +0 -74
  200. data/lib/atrium/user.rb +0 -150
  201. 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
+
@@ -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,8 @@
1
+ # Atrium::ChallengesResponseBody
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **challenges** | [**Array<Challenge>**](Challenge.md) | | [optional]
7
+
8
+
@@ -0,0 +1,9 @@
1
+ # Atrium::ConnectWidget
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **connect_widget_url** | **String** | | [optional]
7
+ **guid** | **String** | | [optional]
8
+
9
+
@@ -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,8 @@
1
+ # Atrium::ConnectWidgetResponseBody
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **user** | [**ConnectWidget**](ConnectWidget.md) | | [optional]
7
+
8
+
@@ -0,0 +1,9 @@
1
+ # Atrium::CredentialOption
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **label** | **String** | | [optional]
7
+ **value** | **String** | | [optional]
8
+
9
+
@@ -0,0 +1,9 @@
1
+ # Atrium::CredentialRequest
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **guid** | **String** | | [optional]
7
+ **value** | **String** | | [optional]
8
+
9
+
@@ -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
+
@@ -0,0 +1,8 @@
1
+ # Atrium::CredentialsResponseBody
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **credentials** | [**Array<CredentialResponse>**](CredentialResponse.md) | | [optional]
7
+
8
+
@@ -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
+
@@ -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,8 @@
1
+ # Atrium::InstitutionResponseBody
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **institution** | [**Institution**](Institution.md) | | [optional]
7
+
8
+
@@ -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&lt;Institution&gt;**](Institution.md) | | [optional]
7
+ **pagination** | [**Pagination**](Pagination.md) | | [optional]
8
+
9
+
@@ -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&lt;Challenge&gt;**](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
+