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:
parent
9642a6bdb8
commit
0b44f59c7c
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue