diff --git a/lib/fog/dns/models/aws/record.rb b/lib/fog/dns/models/aws/record.rb index dc746e3aa..299b5f692 100644 --- a/lib/fog/dns/models/aws/record.rb +++ b/lib/fog/dns/models/aws/record.rb @@ -16,7 +16,7 @@ module Fog attribute :created_at, :aliases => ['SubmittedAt'] def initialize(attributes={}) - self.ttl ||= 3600 + self.ttl ||= 3600 super end diff --git a/lib/fog/dns/models/bluebox/zone.rb b/lib/fog/dns/models/bluebox/zone.rb index 7fc5adda6..f7ee6c173 100644 --- a/lib/fog/dns/models/bluebox/zone.rb +++ b/lib/fog/dns/models/bluebox/zone.rb @@ -19,6 +19,7 @@ module Fog attribute :minimum def initialize(attributes = {}) + self.ttl ||= 3600 super(attributes) end