Class: Argyle::CallbackController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/argyle/callback_controller.rb

Instance Method Summary collapse

Instance Method Details

#plaid_access_tokenObject



4
5
6
# File 'app/controllers/argyle/callback_controller.rb', line 4

def plaid_access_token
  @plaid_access_token ||= plaid_exchange_token.access_token
end

#plaid_userObject



8
9
10
# File 'app/controllers/argyle/callback_controller.rb', line 8

def plaid_user
  @plaid_user ||= Argyle.plaid_client.set_user(plaid_access_token, plaid_products)
end