Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F449103
domain.rb
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Apr 24, 2:49 PM
Size
595 B
Mime Type
text/plain
Expires
Sat, Apr 26, 2:49 PM (1 d, 10 h)
Engine
blob
Format
Raw Data
Handle
212356
Attached To
rWEBDNS WebDNS (edet4)
domain.rb
View Options
FactoryGirl
.
define
do
sequence
(
:domain
)
{
|
n
|
"example
#{
n
}
.com"
}
factory
:domain
do
group
name
{
generate
(
:domain
)
}
serial_strategy
Strategies
::
Date
type
'NATIVE'
end
factory
:slave
,
parent
:
:domain
do
type
'SLAVE'
master
'1.2.3.4'
end
factory
:date_domain
,
class
:
Domain
do
group
name
{
generate
(
:domain
)
}
serial_strategy
Strategies
::
Date
type
'NATIVE'
end
factory
:v4_arpa_domain
,
parent
:
:domain
do
name
'2.0.192.in-addr.arpa'
end
factory
:v6_arpa_domain
,
parent
:
:domain
do
name
'8.b.d.0.1.0.0.2.ip6.arpa'
end
end
Event Timeline
Log In to Comment