# card-js-rails

[CardJs](https://cardjs.co.uk/) for the Rails asset pipeline.

## Installation

Add this line to your application's Gemfile:

    gem 'card-js-rails', '~> 1.0'

And then execute:

    bundle install
    
Add the JS to your application.js:

    //= require card-js
    
And add the CSS to your application.scss:

    @import "card-js";


## Usage

Use exactly as described in the [CardJS documentation](https://cardjs.co.uk/).


## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/fishpercolator/card-js-rails. 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).