Kind: global class
Promise.<string>Promise.<Object>Response class for SiRuClient
| Param | Type | Description |
|---|---|---|
| params | Object |
parameter |
| params.status | number |
200,404 etc. |
| params.method | string |
“get”, “post” etc |
| params.transaction_id | number |
transaction id |
| params.text | string |
response text |
Promise.<string>get response text
Kind: instance method of Response
Returns: Promise.<string> - response text
Promise.<Object>get response in json object
Kind: instance method of Response
Returns: Promise.<Object> - response in json object