mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-26 01:37:07 +00:00
18 lines
No EOL
328 B
C#
18 lines
No EOL
328 B
C#
using System.Linq;
|
|
using Nancy;
|
|
using Nancy.Responses;
|
|
|
|
namespace NzbDrone.Api
|
|
{
|
|
public abstract class NzbDroneApiModule : NancyModule
|
|
{
|
|
protected NzbDroneApiModule(string resource)
|
|
: base("/api/" + resource.Trim('/'))
|
|
{
|
|
Options["/"] = x => new Response();
|
|
}
|
|
|
|
|
|
|
|
}
|
|
} |