Sha256: 79220b8e17650e2a8eb018275f699b463434ca498858a17104eb4ddb51513e7b

Contents?: true

Size: 1.54 KB

Versions: 8

Compression:

Stored size: 1.54 KB

Contents

# EZAPIClient

[![Build Status](https://travis-ci.org/bloom-solutions/ezapi_client-ruby.svg?branch=master)](https://travis-ci.org/bloom-solutions/ezapi_client-ruby)

Ruby wrapper for EasyPadala's API.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'ezapi_client'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install ezapi_client

## Usage

Initialize:

```ruby
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`
2. `docker-compose run app bundle`
3. `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](http://contributor-covenant.org) code of conduct.

## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ezapi_client-1.2.1 README.md
ezapi_client-1.1.2 README.md
ezapi_client-1.1.1 README.md
ezapi_client-1.1.0 README.md
ezapi_client-1.0.3 README.md
ezapi_client-1.0.2 README.md
ezapi_client-1.0.1 README.md
ezapi_client-1.0.0 README.md