Class: FundAmerica::PlaidAuthentication

Inherits:
Object
  • Object
show all
Defined in:
lib/fund_america/plaid_authentication.rb

Class Method Summary collapse

Class Method Details

.create(entity_id, options) ⇒ Object

End point: apps.fundamerica.com/api/entities/:id/plaid_authentication (POST) Usage: FundAmerica::PlaidAuthentication.create(entity_id, options) Output: Creates a new plaid_authentication



15
16
17
# File 'lib/fund_america/plaid_authentication.rb', line 15

def create(entity_id, options)
  API::request(:post, "entities/#{entity_id}/plaid_authentication", options)
end

.delete(entity_id) ⇒ Object

End point: apps.fundamerica.com/api/entities/:id/plaid_authentication (DELETE) Usage: FundAmerica::PlaidAuthentication.delete(entity_id)



21
22
23
# File 'lib/fund_america/plaid_authentication.rb', line 21

def delete(entity_id)
  API::request(:delete, "entities/#{entity_id}/plaid_authentication")
end

.institutions(entity_id) ⇒ Object

End point: apps.fundamerica.com/api/entities/:id/plaid_authentication/institutions (GET) Usage: FundAmerica::PlaidAuthentication.institutions(entity_id)



27
28
29
# File 'lib/fund_america/plaid_authentication.rb', line 27

def institutions(entity_id)
  API::request(:get, "entities/#{entity_id}/plaid_authentication/institutions")
end

.list(entity_id) ⇒ Object

End point: apps.fundamerica.com/api/entities/:id/plaid_authentication (GET) Usage: FundAmerica::PlaidAuthentication.list(entity_id) Output: Returns list of plaid_authentications



8
9
10
# File 'lib/fund_america/plaid_authentication.rb', line 8

def list(entity_id)
  API::request(:get, "entities/#{entity_id}/plaid_authentication")
end

.mfa_device(entity_id, options) ⇒ Object

End point: apps.fundamerica.com/api/entities/:id/plaid_authentication/mfa/device (POST) Usage: FundAmerica::PlaidAuthentication.mfa_device(entity_id, options)



33
34
35
# File 'lib/fund_america/plaid_authentication.rb', line 33

def mfa_device(entity_id, options)
  API::request(:post, "entities/#{entity_id}/plaid_authentication/mfa/device", options)
end

.mfa_questions(entity_id, options) ⇒ Object

End point: apps.fundamerica.com/api/entities/:id/plaid_authentication/mfa/questions (POST) Usage: FundAmerica::PlaidAuthentication.mfa_questions(entity_id, options)



39
40
41
# File 'lib/fund_america/plaid_authentication.rb', line 39

def mfa_questions(entity_id, options)
  API::request(:post, "entities/#{entity_id}/plaid_authentication/mfa/questions", options)
end

.mfa_selections(entity_id, options) ⇒ Object

End point: apps.fundamerica.com/api/entities/:id/plaid_authentication/mfa/selections (POST) Usage: FundAmerica::PlaidAuthentication.mfa_selections(entity_id, options)



45
46
47
# File 'lib/fund_america/plaid_authentication.rb', line 45

def mfa_selections(entity_id, options)
  API::request(:post, "entities/#{entity_id}/plaid_authentication/mfa/selections", options)
end