| 1 | <?php |
||
| 7 | class RestClient |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Contains the Economic_Request object |
||
| 11 | * |
||
| 12 | * @access public |
||
| 13 | **/ |
||
| 14 | public $request; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * __construct function. |
||
| 18 | * |
||
| 19 | * Instantiates the main class. |
||
| 20 | * Creates a client which is passed to the request construct. |
||
| 21 | * |
||
| 22 | * @auth_string string Authentication string for Economic |
||
| 23 | * |
||
| 24 | * @access public |
||
| 25 | * @param string $secret_token |
||
| 26 | * @param string $grant_token |
||
| 27 | */ |
||
| 28 | public function __construct($secret_token = '', $grant_token = '') |
||
| 33 | } |
||
| 34 |