Sha256: 30db7a6d1239e864c20199acfe568761376434a9fd811a1836c5fe03c4abb147
Contents?: true
Size: 758 Bytes
Versions: 5
Compression:
Stored size: 758 Bytes
Contents
# frozen_string_literal: true module Fog module DNS class PowerDNS class Real # Get all of a DNS server's config settings # # ==== Parameters # * server<~String> - server id # # ==== Returns # * response<~Excon::Response>: # * body<~Array>: # * Config<~Hash>: # * 'type': <~String>, # * 'name': <~String>, # * 'value': <~String> # * status<~String> - 200 when successful def list_server_configs(server) request( expects: 200, method: 'GET', path: "/api/#{@api_version}/servers/#{server}/config" ).body end end end end end
Version data entries
5 entries across 3 versions & 2 rubygems