anderly / dnsimple-csharp

A C# wrapper for the DNSimple REST API
Apache License 2.0
17 stars 10 forks source link

Small bug in Domains and Whois Protection support added #2

Closed geoffappleford closed 12 years ago

geoffappleford commented 12 years ago

The DeleteDomain by Id method was returning GetDomain(string name) instead of DeleteDomain.

I implemented Whois privacy protection.

anderly commented 12 years ago

Made a small change to WhoisPrivacyProtection in naming conventions. Changed "SetWHOISPrivacyProtection" to "AddWhoisPrivacyProtection" to follow the Add/Remove convention in the other resources. Also, changed spaces to tabs just because that's how the rest of the project is setup. Also, changed WHOIS Whois for Remove methods as well. All changes are included in commit: https://github.com/anderly/dnsimple-csharp/commit/1693fb0b1f1ef26d3b74f2fcd50da84b3aafeaee

anderly commented 12 years ago

These changes are reflected in version 0.4.0 on NuGet: http://nuget.org/packages/dnsimple