Cardgate
This gem is a client for the Cardgate REST API.
Installation
Add this line to your application's Gemfile:
gem 'cardgate'
And then execute:
$ bundle
Or install it yourself as:
$ gem install cardgate
Usage
To configure this gem on rails, add the following initializer.
unless Rails.env.production?
Cardgate::Gateway.environment = :test
end
Cardgate::Gateway.merchant = ''
Cardgate::Gateway.api_key = ''
Contributing
- Fork it ( http://github.com/yourivdlans/cardgate/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request