Class: Atrium::AtriumClient
- Inherits:
-
Object
- Object
- Atrium::AtriumClient
- Defined in:
- lib/atrium-ruby/api/atrium_client.rb
Instance Attribute Summary collapse
-
#accounts ⇒ Object
Returns the value of attribute accounts.
-
#connectWidget ⇒ Object
Returns the value of attribute connectWidget.
-
#holdings ⇒ Object
Returns the value of attribute holdings.
-
#identity ⇒ Object
Returns the value of attribute identity.
-
#institutions ⇒ Object
Returns the value of attribute institutions.
-
#members ⇒ Object
Returns the value of attribute members.
-
#merchants ⇒ Object
Returns the value of attribute merchants.
-
#statements ⇒ Object
Returns the value of attribute statements.
-
#transactions ⇒ Object
Returns the value of attribute transactions.
-
#users ⇒ Object
Returns the value of attribute users.
-
#verification ⇒ Object
Returns the value of attribute verification.
Instance Method Summary collapse
-
#initialize(api_key, client_id) ⇒ AtriumClient
constructor
A new instance of AtriumClient.
Constructor Details
#initialize(api_key, client_id) ⇒ AtriumClient
Returns a new instance of AtriumClient.
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/atrium-ruby/api/atrium_client.rb', line 15 def initialize(api_key, client_id) Atrium.configure do |config| config.api_key['MX-API-Key'] = api_key config.api_key['MX-Client-ID'] = client_id end @accounts = Atrium::AccountsApi.new() @connectWidget = Atrium::ConnectWidgetApi.new() @holdings = Atrium::HoldingsApi.new() @identity = Atrium::IdentityApi.new() @institutions = Atrium::InstitutionsApi.new() @members = Atrium::MembersApi.new() @merchants = Atrium::MerchantsApi.new() @statements = Atrium::StatementsApi.new() @transactions = Atrium::TransactionsApi.new() @users = Atrium::UsersApi.new() @verification = Atrium::VerificationApi.new() end |
Instance Attribute Details
#accounts ⇒ Object
Returns the value of attribute accounts.
3 4 5 |
# File 'lib/atrium-ruby/api/atrium_client.rb', line 3 def accounts @accounts end |
#connectWidget ⇒ Object
Returns the value of attribute connectWidget.
4 5 6 |
# File 'lib/atrium-ruby/api/atrium_client.rb', line 4 def connectWidget @connectWidget end |
#holdings ⇒ Object
Returns the value of attribute holdings.
5 6 7 |
# File 'lib/atrium-ruby/api/atrium_client.rb', line 5 def holdings @holdings end |
#identity ⇒ Object
Returns the value of attribute identity.
6 7 8 |
# File 'lib/atrium-ruby/api/atrium_client.rb', line 6 def identity @identity end |
#institutions ⇒ Object
Returns the value of attribute institutions.
7 8 9 |
# File 'lib/atrium-ruby/api/atrium_client.rb', line 7 def institutions @institutions end |
#members ⇒ Object
Returns the value of attribute members.
8 9 10 |
# File 'lib/atrium-ruby/api/atrium_client.rb', line 8 def members @members end |
#merchants ⇒ Object
Returns the value of attribute merchants.
9 10 11 |
# File 'lib/atrium-ruby/api/atrium_client.rb', line 9 def merchants @merchants end |
#statements ⇒ Object
Returns the value of attribute statements.
10 11 12 |
# File 'lib/atrium-ruby/api/atrium_client.rb', line 10 def statements @statements end |
#transactions ⇒ Object
Returns the value of attribute transactions.
11 12 13 |
# File 'lib/atrium-ruby/api/atrium_client.rb', line 11 def transactions @transactions end |
#users ⇒ Object
Returns the value of attribute users.
12 13 14 |
# File 'lib/atrium-ruby/api/atrium_client.rb', line 12 def users @users end |
#verification ⇒ Object
Returns the value of attribute verification.
13 14 15 |
# File 'lib/atrium-ruby/api/atrium_client.rb', line 13 def verification @verification end |