README.md in openpay-1.0.1 vs README.md in openpay-1.0.2
- old
+ new
@@ -1,8 +1,7 @@
-# openpay-ruby
+# Openpay-Ruby
-
##Description
ruby client for *Openpay api* services (version 1.0.0)
This is a ruby client implementing the payment services for *Openpay* at openpay.mx
@@ -320,31 +319,23 @@
- all customer cards
customer_cards=cards.all(customer_id)
-- all merchant cards
-
- merchant_cards=cards.all
-
-- all customer card
-
- customer_cards=cards.all(customer_id)
-
- delete merchant card
cards.delete(card_id)
- delete customer card
cards.delete(card_id,customer_id)
- -delete all merchant cards
+ - delete all merchant cards
cards.delete_all
- -delete all customer cards
+ - delete all customer cards
cards.delete_all(customer_id)
#### charges
@@ -660,11 +651,10 @@
e.error_code# =>1005
e.description# =>"The customer with id '1111' does not exist"
end
```
-
###These exceptions have the following attributes:
- *category*
- *description*
- *http_code*
@@ -684,15 +674,16 @@
##Developer Notes
- bank accounts for merchant cannot be created using the api. It should be done through the dashboard.
- Is recommended to reset your account using the dashboard when running serious testing (assure clean state)
- check openpay_ap.rb for Logger configuration
-- travis https://travis-ci.org/open-pay/openpay-ruby
+- travis https://travis-ci.org/open-pay/openpay-ruby , if a test fails it will leave leave some records, it may affect posterior tests.
+ it is recommended to reset the console/account to assure a clean state after a failure occurs.
## More information
For more use cases take a look at the *test/spec* folder
-1. http://docs.openpay.mx/
+ 1. http://docs.openpay.mx/