0.0
No commit activity in last 3 years
A long-lived project that still receives updates
A gem who encapsulate api calls of TJPI sticapi
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.15
~> 10.0
~> 3.0

Runtime

~> 4.3
~> 2.0
>= 5.0
 Project Readme

SticapiClient

A Client to use TJPI sticapi services, web services for TJPI application integrations.

Installation

Add this line to your application's Gemfile:

gem 'sticapi_client'

And then execute:

$ bundle

Or install it yourself as:

$ gem install sticapi_client

Usage

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:

include SticapiController

to manipulate tokens sent and received from sticapi server

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/zezim/sticapi_client.