Sha256: 18aa477970c01d99fb743668fc08a14a0f6d8d225be3f2bf344cbc15610ca9f8

Contents?: true

Size: 564 Bytes

Versions: 1

Compression:

Stored size: 564 Bytes

Contents

using System;
using System.IO;

namespace openstack.net
{
	public class RunChallenge
	{
		public static void Main (string[] args)
		{
			// Pacto cannot currently validate 100-Continue responses.  See https://github.com/thoughtworks/pacto/issues/87
			System.Net.ServicePointManager.Expect100Continue = false;
			var challenge = Path.GetFileNameWithoutExtension(args[0]);
			var challenge_class = Type.GetType("openstack.net." + challenge);
			var challenge_object = Activator.CreateInstance(challenge_class) as Challenge;
			challenge_object.Run(args);
		}
	}
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
polytrix-0.0.1 sdks/openstack.net/RunChallenge.cs