Sha256: ff049c56be26aa595ef7708d2a5096e4cdb5430f4c57de16bf0b0dae8462ed60
Contents?: true
Size: 1.17 KB
Versions: 7
Compression:
Stored size: 1.17 KB
Contents
module Fog module Slicehost class DNS class Real require 'fog/dns/parsers/slicehost/get_records' # Get all the DNS records across all the DNS zones for this account # # ==== Returns # * response<~Excon::Response>: # * body<~Array>: # * 'addresses'<~Array> - Ip addresses for the slice # * 'backup-id'<~Integer> - Id of backup slice was booted from # * 'flavor_id'<~Integer> - Id of flavor slice was booted from # * 'id'<~Integer> - Id of the slice # * 'image-id'<~Integer> - Id of image slice was booted from # * 'name'<~String> - Name of the slice # * 'progress'<~Integer> - Progress of current action, in percentage # * 'status'<~String> - Current status of the slice def get_records request( :expects => 200, :method => 'GET', :parser => Fog::Parsers::Slicehost::DNS::GetRecords.new, :path => "records.xml" ) end end class Mock def get_records Fog::Mock.not_implemented end end end end end
Version data entries
7 entries across 7 versions & 2 rubygems