Sha256: 2259e35064a8c48518df28d4e7bb2a3b031ee85752fe666ec19192b3e4bf4bba
Contents?: true
Size: 1.43 KB
Versions: 5
Compression:
Stored size: 1.43 KB
Contents
# EWayClient [![Build Status](https://travis-ci.org/imacchiato/e_way_client-ruby.svg?branch=master)](https://travis-ci.org/imacchiato/e_way_client-ruby) Ruby wrapper for EWay. ## Installation Add this line to your application's Gemfile: ```ruby gem 'e_way_client' ``` And then execute: $ bundle Or install it yourself as: $ gem install e_way_client ## Usage You may set global settings in an initializer: ```ruby EWayClient.configure do |c| c.username = ENV["E_WAY_USERNAME"] c.password = ENV["E_WAY_PASSWORD"] c.secret = ENV["E_WAY_SECRET"] end ``` Whenever you call `EWayClient.new` it will use the global settings unless you provide it, like `EWayClient.new(password: "password")` See detailed usage examples in `spec/acceptance`. ### Factories To aid development in your apps, you may include FactoryGirl factories of the models by calling `require "e_way_client/factories"`. ## Development - Copy `spec/config.yml.sample` to `spec/config.yml` - Replace values with your test credentials ## Contributing Bug reports and pull requests are welcome on [GitHub](https://github.com/imacchiato/e_way_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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
e_way_client-1.2.1 | README.md |
e_way_client-1.2.0 | README.md |
e_way_client-1.1.0 | README.md |
e_way_client-1.0.1 | README.md |
e_way_client-1.0.0 | README.md |