public function updateGrant($counterId, $userLogin, Models\Grant $grant)
    {
        $resource = 'counter/' . $counterId . '/grant/' . $userLogin;
        $response = $this->sendPutRequest($resource, ["grant" => $grant->toArray()]);
        $grantResponse = new Models\UpdateGrantResponse($response);
        return $grantResponse->getGrant();
    }