class TestModule::TestUser

Public Class Methods

new() click to toggle source
# File lib/DinnerLab_Plaid/client/testModule.rb, line 4
def initialize()

        puts("AWW YEAH GOT INITIALIZED!");

end
preview() click to toggle source
# File lib/DinnerLab_Plaid/client/testModule.rb, line 10
def self.preview()
        puts "we are testing this module"

end

Public Instance Methods

set_test_config() click to toggle source
# File lib/DinnerLab_Plaid/client/testModule.rb, line 15
    def set_test_config
            configure do |config|

                    config.client_id = "54b80e0bd6c6ee9c0a5d4291";
                    config.secret = "b44270b7b3999405642450484450a8";
        config.endpoint             = 'https://tartan.plaid.com/'
        #config.certpath             = 'ca-bundle.crt'
        #config.headers              = {'Content-Type'=>'application/x-www-form-urlencoded'}
        #config.webhook_address      = 'http://domain.com/plaid_webhook/antennas'
        config.save_full_response   = true
    end
end
testUserAccess(userOptions={}) click to toggle source
# File lib/DinnerLab_Plaid/client/testModule.rb, line 28
def testUserAccess(userOptions={})

   #ex. self.user = userOptions[:userName];
   user = "";
   email = "";
   password = "";
   institution = "";
   access_token = "";

end