1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
Commit graph

7 commits

Author SHA1 Message Date
Eric Hankins
226a935fba Add TTL on save rather than initialize.
Move the TTL default assignment to the #save method instead of applying
it on object initialization.
2013-05-14 16:45:42 -05:00
Eric Hankins
ef3bec5ade [Zerigo|DNS] Remove default 3600 TTL
Zerigo records and zones were setting a TTL of 3600 on the model if no
TTL was set in the response. On first glance this seems like A Good
Thing - yes we want a default TTL! However, it masks the fact that a
record might have no TTL set on it and is using the default TTL from the
zone. If you're trying to use the model to determine if the TTL is set
to some value (say 3600), but the value defaults to 3600 if it isn't
set, then you have no way of knowing if it's right or not.

This change forces you to set a TTL if you're performing an operation
that requires one (#save).
2013-05-10 11:14:54 -05:00
Paul Thornthwaite
a510d34982 [zerigo|dns] Updates reference to service 2013-01-07 21:01:25 +00: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
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