Sha256: 4efa2d0ab5517515176445531487f1959131e2ea9dd80d89e25144277105a9c4
Contents?: true
Size: 762 Bytes
Versions: 30
Compression:
Stored size: 762 Bytes
Contents
module Fog module DNS class OpenStack class V2 class Real def get_zone_transfer_request(zone_transfer_request_id) request( :expects => 200, :method => 'GET', :path => "zones/tasks/transfer_requests/#{zone_transfer_request_id}" ) end end class Mock def get_zone_transfer_request(zone_transfer_request_id) response = Excon::Response.new response.status = 200 request = data[:zone_transfer_requests]["transfer_requests"].first request["id"] = zone_transfer_request_id response.body = request response end end end end end end
Version data entries
30 entries across 28 versions & 3 rubygems