Sha256: 370fda00c673959493e8d2f85f050c069c62f7244f37fb7521a87457d6798c3a
Contents?: true
Size: 950 Bytes
Versions: 3
Compression:
Stored size: 950 Bytes
Contents
module Fog module DNS class PowerDNS class Real # Get details of a cryptokey # # ==== Parameters # * server<~String> - server id # * zone<~String> - zone id # * cryptokey<~String> - cryptokey id # # ==== Returns # * response<~Excon::Response>: # * body<~Hash>: # * 'type': <~String>, # * 'id': <~Integer>, # * 'active': <~Boolean>, # * 'keytype': <~String>, # * 'dnskey': <~String>, # * 'content': <~String>, # * 'ds': <~Array> # * status<~Integer> - 200 when successful # def get_cryptokey(server, zone, cryptokey) request( :expects => 200, :method => 'GET', :path => "/servers/#{server}/zones/#{zone}/cryptokeys/#{cryptokey}" ).body end end end end end
Version data entries
3 entries across 3 versions & 2 rubygems