Sha256: 47f4ddd63c94dccbf94906eb76a7fea6452b9f25f88c3170f4fabe1d7c44b7e1
Contents?: true
Size: 896 Bytes
Versions: 25
Compression:
Stored size: 896 Bytes
Contents
module Fog module DNS class Slicehost class Real require 'fog/slicehost/parsers/dns/get_zones' # Get list of all DNS zones hosted on Slicehost (for this account) # # ==== Returns # * response<~Excon::Response>: # * body<~Hash>: # * 'zones'<~Array> # * 'origin'<~String> - domain name to host (ie example.com) # * 'id'<~Integer> - Id of the zone # * 'ttl'<~Integer> - TimeToLive (ttl) for the domain, in seconds (> 60) # * 'active'<~String> - whether zone is active in Slicehost DNS server - 'Y' or 'N' def get_zones request( :expects => 200, :method => 'GET', :parser => Fog::Parsers::DNS::Slicehost::GetZones.new, :path => 'zones.xml' ) end end end end end
Version data entries
25 entries across 25 versions & 7 rubygems