Sha256: 391aab93a088b47ec5fecb87bb6d3a5e766c26f1c613c6b0bed6d70d1a1e43c9

Contents?: true

Size: 939 Bytes

Versions: 3

Compression:

Stored size: 939 Bytes

Contents

# Cardknox

A lightweight Ruby client for interacting with the Cardknox API, built using `faraday`. It provides an easy and minimal setup for handling payments and other operations via Cardknox.

![CI](https://github.com/algonauti/cardknox/actions/workflows/ci.yml/badge.svg)

## Usage

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'cardknox'
```

## Usage

```ruby
api = Cardknox::API::Client.new('your_api_key') do |config|
  config.gateway_version = "5.0.0"
  config.software_name = "CardKnox Ruby client"
  config.software_version = Cardknox::VERSION
end

response = api.transaction("cc:Sale", {
  xCardNum: "4111111111111111",
  xExp: "1225",
  xAmount: "999"
})

```

## Contributing

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

## License

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cardknox-0.3.0 README.md
cardknox-0.2.0 README.md
cardknox-0.1.0 README.md