src/Gateway/SeemeGateway.php
protected function call(array $params)
    {
        $response = $this->client->get(null, array('query' => $params));

        $result = $response->json();

        if ($result['result'] == 'ERR') {
            throw new ResponseException($result['message'], $result['code']);
        }

        return $result;
    }
protected function call(array $params)
    {
        $response = $this->client->get(null, array('query' => $params));

        $result = $response->json();

        if ($result['result'] == 'ERR') {
            throw new ResponseException($result['message'], $result['code']);
        }

        return $result;
    }
protected function call ( array $ params ) { $ response = $ this -> client -> get ( null , array ( 'query' => $ params ) ) ; $ result = $ response -> json ( ) ; if ( $ result [ 'result' ] == 'ERR' ) { throw new ResponseException ( $ result [ 'message' ] , $ result [ 'code' ] ) ; } return $ result ; }
Sends a request to server

@param array $params Query parameters

@return mixed

@codeCoverageIgnore
Sends a request to server