Package com.uip.tatar

Examples of com.uip.tatar.APITatar.auth()


    @Test
    public void sendSMSTest() {
        APITatar apiTatar  = APITatarProvider.get();
        try {
            apiTatar.auth(LOGIN, PASSWORD);
            apiTatar.sendSMS("50d308f5dc490ef10e00000d", "test");
        catch (APITatarException ex) {
            Assert.fail(ex.getMessage());
        }
    }
View Full Code Here


                    .build();

            APITatar apiTatar =  APITatarFactory.getInstance(apiTatarConfiguration);

            //auth
            apiTatar.auth("9518976217", "1");

            //get user
            User user =  apiTatar.getUser("9518976217", "1");

            user.setLastName("blablabla");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.