mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
tests passing
This commit is contained in:
parent
fdb90eda30
commit
02beddb1ac
2 changed files with 4 additions and 0 deletions
|
@ -18,6 +18,8 @@ module Fog
|
||||||
end
|
end
|
||||||
|
|
||||||
def new(attributes = {})
|
def new(attributes = {})
|
||||||
|
requires :zone
|
||||||
|
super({ :zone => zone }.merge!(attributes))
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -17,9 +17,11 @@ module Fog
|
||||||
end
|
end
|
||||||
|
|
||||||
def records
|
def records
|
||||||
|
@records ||= Fog::Dynect::DNS::Records.new(:zone => self, :connection => connection)
|
||||||
end
|
end
|
||||||
|
|
||||||
def nameservers
|
def nameservers
|
||||||
|
[]
|
||||||
end
|
end
|
||||||
|
|
||||||
def save
|
def save
|
||||||
|
|
Loading…
Add table
Reference in a new issue