From a8b34b565c928a1abfde26db153600853b6078e9 Mon Sep 17 00:00:00 2001 From: Nazar Kuliyev Date: Fri, 4 May 2018 20:24:02 +0600 Subject: [PATCH 1/2] missing doc for user search (direct api call) --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 5d4a067..adf3215 100644 --- a/README.md +++ b/README.md @@ -587,6 +587,14 @@ client.generate_token(token_type: 'card', user_id: '5830def0-ffe8-11e5-86aa-5e55 _Check out the [online documentation](http://promisepay.github.io/promisepay-ruby/) to get a full list of available resources and methods._ + +## Direct API Calls (that are missing as model methods) +##### Example: Search user by email (or any text in user's profile) +```ruby +JSON.parse ASSEMBLY.get("users",{search: "test@test.com"}).body +``` + + # 4. Contributing 1. Fork it ( https://github.com/PromisePay/promisepay-ruby/fork ) From 69c299c7beadf9bab1fa03490fbefb8ca6509703 Mon Sep 17 00:00:00 2001 From: Nazar Kuliyev Date: Fri, 4 May 2018 20:33:40 +0600 Subject: [PATCH 2/2] - --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index adf3215..2faf431 100644 --- a/README.md +++ b/README.md @@ -591,7 +591,7 @@ _Check out the [online documentation](http://promisepay.github.io/promisepay-rub ## Direct API Calls (that are missing as model methods) ##### Example: Search user by email (or any text in user's profile) ```ruby -JSON.parse ASSEMBLY.get("users",{search: "test@test.com"}).body +JSON.parse client.get("users",{search: "test@test.com"}).body ```