README.md in openpay-1.0.4 vs README.md in openpay-1.0.5
- old
+ new
@@ -1,12 +1,14 @@
<img src="http://www.openpay.mx/img/logo.png">
# Openpay-Ruby [![Build Status](https://travis-ci.org/open-pay/openpay-ruby.png?branch=master)](https://travis-ci.org/open-pay/openpay-ruby)
+[![Gem Version](https://badge.fury.io/rb/openpay.svg)](http://badge.fury.io/rb/openpay)
+
##Description
-ruby client for *Openpay api* services (version 1.0.4)
+ruby client for *Openpay api* services (version 1.0.5)
This is a ruby client implementing the payment services for *Openpay* at openpay.mx
For more information about Openpay visit:
- http://openpay.mx/
@@ -50,9 +52,17 @@
#it points to the development environment by default.
openpay=OpenpayApi.new(merchant_id,private_key)
#To enable production mode you should pass a third argument as true.
#openpay_prod=OpenpayApi.new(merchant_id,private_key,true)
+
+#This ruby client manages a default timeout of 90 seconds to make the request
+# to Openpay services, if you need to modify this value, you need to explicitly
+# define the type of environment and followed by the new value for the timeout.
+#Syntax:
+# openpay_prod=OpenpayApi.new(merchant_id,private_key,isProduction,timeout)
+#Example:
+# openpay_prod=OpenpayApi.new(merchant_id,private_key,false,30)
```
The openpay factory instance is in charge to generate the required resources through a factory method (create).
Resource classes should be initialized using the factory method as described below.