Parsley-Payment for Rails Asset Pipeline
Parsley-Payment is a credit card validation library for Parsley.js. This gem makes it easy to use it with Rails Asset Pipeline.
Installation
Add this line to your application's Gemfile:
gem "parsley-payment-rails"
And then execute:
$ bundle
Usage
Add the following to your app/assets/javascripts/application.js
:
//= require parsley-payment
Versions
The gem follows Parsley-Payment's versions. If the gem's version is 1.0.1.0
, then 1.0.1
is a version of Parsley-Payment and 0
is a patch level of the gem itself.
Contributing
- Fork it
- 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