ruby - Integrate external api client in to rails -


i'm qa quite few rails skills

i have api client written in ruby created testing purposes, , simulating of multiple users interactions. here simple usage examples:

user = userapi.new @phone <- here new oauth session created user.user <- basic user info user.messages user.send_money @phone2  agent = agentapi.new @phone <- here new oauth session created agent.user otp = agent.otp_creator @amnt, 'cash in' user.sign_operation otp 

i want create web ui interacting these users. 1 browser session == 1 user. main reason why doing - dev practice, second - provide ui team usage.

my question is: how integrate existing client web ui in correct , conventional way? (with minimum client changes)


Comments

Popular posts from this blog

java - unable show chart in xls document using jasper reports -

javascript - How to change image src on success AJAX -

java.lang.RuntimeException: Could not generate dummy secret at sun.security.ssl.RSAClientKeyExchange.<init> -