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

        $params = array(
            'service' => $service,
        );

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

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

        $params = array(
            'service' => $service,
        );

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

        return $this->_user->post('account/identity/' . $identity . '/limit', $params);
    }
public function create ( $ identity , $ service , $ total_allowance = false , $ analyze_queries = false ) { $ params = array ( 'service' => $ service , ) ; if ( $ total_allowance ) { $ params [ 'total_allowance' ] = $ total_allowance ; } if ( $ analyze_queries ) { $ params [ 'analyze_queries' ] = $ analyze_queries ; } return $ this -> _user -> post ( 'account/identity/' . $ identity . '/limit' , $ params ) ; }
Create a limit for a service

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

@return mixed
Create a limit for a service