class Api::V1::Webhooks::Outgoing::EndpointsController
def create
def create if @endpoint.save render :show, status: :created, location: [:api, :v1, @endpoint] else render json: @endpoint.errors, status: :unprocessable_entity end end
def destroy
def destroy @endpoint.destroy end
def index
def index end
def show
def show end
def update
def update if @endpoint.update(endpoint_params) render :show else render json: @endpoint.errors, status: :unprocessable_entity end end