1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/rackspace/requests/dns/callback.rb

20 lines
405 B
Ruby
Raw Normal View History

module Fog
module DNS
class Rackspace
class Real
def callback(job_id, show_details=true)
2011-08-28 10:53:43 -04:00
validate_path_fragment :job_id, job_id
request(
:expects => [200, 202, 204],
:method => 'GET',
:path => "status/#{job_id}",
:query => "showDetails=#{show_details}"
)
end
end
end
end
end