mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
946707a264
Test for proper response format.
21 lines
541 B
Ruby
21 lines
541 B
Ruby
class AWS
|
|
module DNS
|
|
module Formats
|
|
RESOURCE_RECORD_SET = {
|
|
"ResourceRecords" => Array,
|
|
"Name" => String,
|
|
"Type" => String,
|
|
"AliasTarget"=> Fog::Nullable::Hash,
|
|
"TTL" => Fog::Nullable::String
|
|
}
|
|
|
|
LIST_RESOURCE_RECORD_SETS = {
|
|
"ResourceRecordSets" => [RESOURCE_RECORD_SET],
|
|
"IsTruncated" => Fog::Boolean,
|
|
"MaxItems" => Integer,
|
|
"NextRecordName" => Fog::Nullable::String,
|
|
"NextRecordType" => Fog::Nullable::String
|
|
}
|
|
end
|
|
end
|
|
end
|