README.md in spike-ruby-0.0.2 vs README.md in spike-ruby-0.0.3
- old
+ new
@@ -1,6 +1,6 @@
-# spike-ruby
+# spike-ruby ![build status](https://circleci.com/gh/spice-life/spike-ruby.png?style=shield&circle-token=793417d2dc17daaef4dfba6afb6552e4ca4c1023)
[SPIKE](https://spike.cc/) API Client for Ruby.
## Installation
@@ -43,9 +43,18 @@
id: "00001"
}]
spike.charge.create(request_parmas, products)
```
+
+## Get credit card token
+
+```shell
+$ gem install sinatra
+$ SPIKE_PUBLIC_KEY=pk_xxxxxxx ruby checkoutapp.rb
+```
+
+Access to http://localhost:4567
## Contributing
1. Fork it ( https://github.com/spice-life/spike-ruby/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)