Eric Hankins
6f8c0e6120
Support pagination on Zerigo DNS zones
...
For Zerigo accounts with more than 100 domains, the previous zones.all
method was unable to get to records beyond 100. This adds pagination per
the Zerigo API doc with :per_page and :page parameters. You can then use
count_zones to get the total zone count, divide by your :per_page, and
iterate over all pages to fetch all your zones.
https://www.zerigo.com/docs/apis/dns/1.1/zones/index
2013-05-09 13:57:33 -05:00
Andreas Gerauer
d954a16354
Removed Zerigo::Models::DNS::Records#find method, moved functionality to all(options)
...
Removed Rackspace::Models::DNS::Zones#find, moved functionality to all(options)
2013-03-13 18:01:54 +01:00
Paul Thornthwaite
a510d34982
[zerigo|dns] Updates reference to service
2013-01-07 21:01:25 +00:00
Paul Thornthwaite
40c0cd7122
Make use of #persisted? method
...
In many places we were checking for identity which was the shorthand for
checking if the resource had been saved by the service.
The #persisted? method was added to show a clearer intent and also offer
minimal ActiveModel interface
2012-12-23 02:45:05 +00:00
Kevin Menard
6cd10c1430
[zerigo|dns] Fixed an issue with updating a record since the response body is an empty string, not nil.
2012-01-08 21:21:56 -05:00
Wesley Beary
d614c12d69
Merge pull request #552 from mogotest/fix_zerigo_host_update
...
Fixed an issue whereby saving an existing record in Zerigo would nil out its value.
2011-10-09 08:54:21 -07:00
Wesley Beary
0cba13b70e
Merge pull request #551 from mogotest/implement_zerigo_mocks
...
Implemented mocks for Zerigo.
2011-10-09 08:53:47 -07:00
Kevin Menard
9a619c07f3
Fixed an issue whereby saving an existing record in Zerigo would nil out its value.
2011-10-09 11:49:50 -04:00
Kevin Menard
38a703e3e0
Added the ability to search Zerigo records for a particular zone.
2011-10-08 22:39:40 -04:00
Kevin Menard
25562a42b4
Implemented mocks for Zerigo.
2011-10-08 20:19:32 -04:00
geemus
0763c6370a
[dns|zerigo] move zerigo dns to its own shared area (namespacing should probably be corrected)
2011-08-24 14:40:47 -05:00
geemus
39b5899163
[dns] consolidate
2011-01-07 16:12:04 -08:00
geemus
e4e33af626
[dns] fixes to get all shared tests passing
2011-01-03 15:39:38 -08:00
geemus
39ed179198
[linode|dns] first pass at models
2010-12-23 16:47:47 -08:00
geemus
13e8141158
[slicehost|dns] first pass at models
2010-12-23 15:36:08 -08:00
geemus
0fd90a8fa5
[zerigo|dns] save or update models
2010-12-23 14:21:05 -08:00
geemus
a641545902
[zerigo|dns] first rough pass at models
2010-12-22 20:36:53 -08:00