src/Services/EventCallbackUrlService.php
public function update($id, EventCallbackUrl $eventCallbackUrl)
    {
        $response = $this->mailjet->put(Resources::$Eventcallbackurl, ['id' => $id, 'body' => $eventCallbackUrl->format()]);
        if (!$response->success()) {
            $this->throwError("EventCallbackUrlService:update() failed", $response);
        }

        return $response->getData();
    }
public function update($id, EventCallbackUrl $eventCallbackUrl)
    {
        $response = $this->mailjet->put(Resources::$Eventcallbackurl, ['id' => $id, 'body' => $eventCallbackUrl->format()]);
        if (!$response->success()) {
            $this->throwError("EventCallbackUrlService:update() failed", $response);
        }

        return $response->getData();
    }
public function update ( $ id , EventCallbackUrl $ eventCallbackUrl ) { $ response = $ this -> mailjet -> put ( Resources :: $ Eventcallbackurl , [ 'id' => $ id , 'body' => $ eventCallbackUrl -> format ( ) ] ) ; if ( ! $ response -> success ( ) ) { $ this -> throwError ( "EventCallbackUrlService:update() failed" , $ response ) ; } return $ response -> getData ( ) ; }
Update one EventCallbackUrl
@param string $id
@param EventCallbackUrl $eventCallbackUrl
@return array
Update one EventCallbackUrl