EZAPIClient

Build Status

Ruby wrapper for EasyPadala's API.

Installation

Add this line to your application's Gemfile:

gem 'ezapi_client'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ezapi_client

Usage

Initialize:

EZAPIClient.new(
  host: "https://my.host.com",
  username: "myusername",
  password: "mypass",
  eks_path: "/path/to/eks",
  prv_path: "/path/to/prv",
  log: true,
  logger: Rails.logger,
)

See spec/functional for examples.

Development

  1. Create .env.local and override the password (see .env). If you do not have access to the password but have your own credentials, then will have to override everything except HOST.
  2. docker-compose build
  3. docker-compose run app bundle
  4. docker-compose run app rspec

Note: you do not necessarily need Docker, but it makes development easier. If you want to work on this without it, then you need Java installed. See Dockerfile for clues.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/bloom-solutions/ezapi_client-ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.