mirror of
https://github.com/internetee/registry.git
synced 2025-06-09 22:24:47 +02:00
REPP: Serialize domains
This commit is contained in:
parent
57df268d91
commit
e55fc833e7
2 changed files with 8 additions and 3 deletions
|
@ -29,7 +29,8 @@ module Serializers
|
|||
|
||||
def dnssec_keys
|
||||
domain.dnskeys.map do |nssec|
|
||||
{ flags: nsec.flags, protocol: nssec.protocol, alg: nssec.alg, public_key: nssec.public_key }
|
||||
{ flags: nssec.flags, protocol: nssec.protocol, alg: nssec.alg,
|
||||
public_key: nssec.public_key }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue