AppHarbor.AppHarborClient.GetServicehook C# (CSharp) Method

GetServicehook() public method

public GetServicehook ( string applicationSlug, string Id ) : ServiceHook
applicationSlug string
Id string
return ServiceHook
		public ServiceHook GetServicehook(string applicationSlug, string Id)
		{
			CheckArgumentNull("applicationSlug", applicationSlug);

			var request = new RestRequest();
			request.Resource = "applications/{applicationSlug}/servicehooks/{Id}";
			request.AddParameter("applicationSlug", applicationSlug, ParameterType.UrlSegment);
			request.AddParameter("Id", Id, ParameterType.UrlSegment);

			return ExecuteGetKeyed<ServiceHook>(request);
		}