A Client to use TJPI sticapi services, web services for TJPI application integrations.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install sticapi_client
Generate config file
rails generate sticapi_client:install
Configure data for your sticpai server
development: host: localhost port: 3001 user: user_of_sticapi password: password_of_sticapi test: host: localhost port: 3001 user: user_of_sticapi password: password_of_sticapi production: host: localhost port: 3001 user: user_of_sticapi password: password_of_sticapi
In your application_controller (or in controllers you want to use sticapi functions) add:
to manipulate tokens sent and received from sticapi server
Bug reports and pull requests are welcome on GitHub at https://github.com/zezim/sticapi_client.