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

[dns|bluebox] add default ttl for zone

This commit is contained in:
geemus 2011-04-04 16:57:08 -07:00
parent 9642a6bdb8
commit 0b44f59c7c
2 changed files with 2 additions and 1 deletions

View file

@ -16,7 +16,7 @@ module Fog
attribute :created_at, :aliases => ['SubmittedAt'] attribute :created_at, :aliases => ['SubmittedAt']
def initialize(attributes={}) def initialize(attributes={})
self.ttl ||= 3600 self.ttl ||= 3600
super super
end end

View file

@ -19,6 +19,7 @@ module Fog
attribute :minimum attribute :minimum
def initialize(attributes = {}) def initialize(attributes = {})
self.ttl ||= 3600
super(attributes) super(attributes)
end end