Class: TestModule::TestUser
- Inherits:
-
Object
- Object
- TestModule::TestUser
- Defined in:
- lib/DinnerLab_Plaid/client/testModule.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ TestUser
constructor
A new instance of TestUser.
- #set_test_config ⇒ Object
- #testUserAccess(userOptions = {}) ⇒ Object
Constructor Details
#initialize ⇒ TestUser
Returns a new instance of TestUser.
4 5 6 7 8 |
# File 'lib/DinnerLab_Plaid/client/testModule.rb', line 4 def initialize() puts("AWW YEAH GOT INITIALIZED!"); end |
Class Method Details
.preview ⇒ Object
10 11 12 13 |
# File 'lib/DinnerLab_Plaid/client/testModule.rb', line 10 def self.preview() puts "we are testing this module" end |
Instance Method Details
#set_test_config ⇒ Object
15 16 17 18 19 20 21 22 23 24 25 26 |
# 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 = {}) ⇒ Object
28 29 30 31 32 33 34 35 36 37 |
# File 'lib/DinnerLab_Plaid/client/testModule.rb', line 28 def testUserAccess(userOptions={}) #ex. self.user = userOptions[:userName]; user = ""; email = ""; password = ""; institution = ""; access_token = ""; end |