REPP: Serialize domains

This commit is contained in:
Karl Erik Õunapuu 2021-01-27 13:01:59 +02:00
parent 57df268d91
commit e55fc833e7
No known key found for this signature in database
GPG key ID: C9DD647298A34764
2 changed files with 8 additions and 3 deletions

View file

@ -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