From bb70e1684e88833e9667fcaf78ff62b64424cf6f Mon Sep 17 00:00:00 2001 From: Tomasz Sikora Date: Sun, 4 Dec 2016 23:36:09 +0100 Subject: [PATCH] fix horizontal lines --- README.md | 36 +++++++++++++++++++++++++----------- 1 file changed, 25 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index a9d97ba..a5ab5ec 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,7 @@ NPM Downloads Dependencies

-
- +

Migration from 1.x @@ -47,7 +46,7 @@ API: Utils

-
+--- ## Setup @@ -149,7 +148,9 @@ client.vouchers.disable(code) ```javascript client.vouchers.import(vouchers) ``` -
+ +--- + ### Campaigns API Methods are provided within `client.campaigns.*` namespace. - [Create Campaign](#create-campaign) @@ -174,7 +175,9 @@ client.campaigns.addVoucher(campaignName, params) ```javascript client.campaigns.importVouchers(campaignName, vouchers, callback) ``` -
+ +--- + ### Distributions API Methods are provided within `client.distributions.*` namespace. @@ -183,7 +186,9 @@ Methods are provided within `client.distributions.*` namespace. client.distributions.publish(campaignName) client.distributions.publish(params) ``` -
+ +--- + ### Validations API Methods are provided within `client.validations.*` namespace. @@ -192,7 +197,9 @@ Methods are provided within `client.validations.*` namespace. client.validations.validateVoucher(code) client.validations.validateVoucher(code, params) ``` -
+ +--- + ### Redemptions API Methods are provided within `client.redemptions.*` namespace. @@ -227,7 +234,9 @@ client.redemptions.rollback(redemptionId, params) client.redemptions.rollback(redemptionId, reason) ``` Check [redemption rollback object](https://docs.voucherify.io/reference?utm_source=github&utm_medium=sdk&utm_campaign=acq#the-redemption-rollback-object). -
+ +--- + ### Customers API Methods are provided within `client.customers.*` namespace. @@ -253,7 +262,9 @@ client.customers.update(customer) ```javascript client.customers.delete(customerId) ``` -
+ +--- + ### Products API Methods are provided within `client.products.*` namespace. @@ -311,7 +322,9 @@ client.products.deleteSku(productId, skuId) ```javascript client.products.listSkus(productId) ``` -
+ +--- + ### Migration from 1.x Version 2.x of the SDK is fully backward compatible with version 1.x. @@ -341,7 +354,8 @@ We also recommend to adopt [voucher redemption](#redeem-voucher) method, and don - `client.product.*` - changed namespace to [client.products.\*](#products-api) - `client.product.sku.*` - changed namespace to [client.products.\*](#products-api) -
+--- + ### Utils ```javascript