README.md in webtopay-1.6.0 vs README.md in webtopay-1.6.1
- old
+ new
@@ -9,11 +9,11 @@
## Installation
Add to your gemfile:
```ruby
-gem "webtopay", github: 'bloomrain'
+gem "webtopay", '1.6.1'
```
## Configuration
Create initializer
@@ -99,10 +99,10 @@
Then in your controller
```ruby
class ProductsController < ApplicationController
def order
# do some order stuff here ...
- @payment = WebToPay::Payment(params[:web_to_pay_payment])
+ @payment = WebToPay::Payment.new(params[:web_to_pay_payment])
redirect_to @payment.url
end
end
```