Jericho / CakeMail.RestClient

.NET wrapper for the CakeMail API
MIT License
9 stars 3 forks source link

Replace 'magic strings' with enums #13

Closed Jericho closed 9 years ago

Jericho commented 9 years ago

Replace string parameters that expect a value from a pre-determined list to enums. For example, when retrieving a list of clients, you can set a filter criteria on the status field which can one of the following 5 values: 'all, 'pending', 'trial', 'active' or 'suspended_all'.

I have identified the following parameters: