lib/DataSift/Account/Identity/Limit.php
public function update($identity, $service, $total_allowance = false, $analyze_queries = false)
    {
        $params = array();

        if ($total_allowance) {
            $params['total_allowance'] = $total_allowance;
        }
        if ($analyze_queries) {
            $params['analyze_queries'] = $analyze_queries;
        }

        return $response = $this->_user->put('account/identity/' . $identity . '/limit/' . $service, $params);
    }
public function update($identity, $service, $total_allowance = false, $analyze_queries = false)
    {
        $params = array();

        if ($total_allowance) {
            $params['total_allowance'] = $total_allowance;
        }
        if ($analyze_queries) {
            $params['analyze_queries'] = $analyze_queries;
        }

        return $response = $this->_user->put('account/identity/' . $identity . '/limit/' . $service, $params);
    }
public function update ( $ identity , $ service , $ total_allowance = false , $ analyze_queries = false ) { $ params = array ( ) ; if ( $ total_allowance ) { $ params [ 'total_allowance' ] = $ total_allowance ; } if ( $ analyze_queries ) { $ params [ 'analyze_queries' ] = $ analyze_queries ; } return $ response = $ this -> _user -> put ( 'account/identity/' . $ identity . '/limit/' . $ service , $ params ) ; }
Update the limit for an service

@param string  $identity
@param string  $service
@param integer $total_allowance
@param integer $analyze_queries

@return mixed
Update the limit for an service