Updated security-group post to work with sinatra-browse
Organised the many vnet api helper methods in modules
Changed the sinatra code blocks back to multiline. The unit tests fail otherwise.
Some improvements in the many_to_many relationship calls for security groups
Wrote a default error handler for the vnet api
Updated the datapaths endpoint for sinatra-browse
Noticed that I had forgotten to write tests for security groups' PUT request... and then noticed that they are broken on master :( Anyway, wrote those now.
Updated the dns_services api for sinatra-browse
Updated interfaces endpoint for sinatra-browse
Got rid of unneeded uuid syntax checks
Turned the ipv4 and mac address parser methods into procs stores in constants so they can be used in sinatra-browse's transform
Took care of some deprecated code in our custom rspec matchers
Use the model wrappers to determine uuid prefix in param_uuid
Updated ip leases endpoint for sinatra-browse
Updated ip ranges endpoint for sinatra-browse
Use the constants for allocation types in ip ranges endpoint
Accidentally had the failure messages mixed up when getting rid of deprecated code in the rpsec matches. Oops.
Added constants for the possible parameters of lease policies
Updated lease policies endpoint for sinatra-browse
Updated mac leases endpoint for sinatra-browse