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/dns/requests/rackspace/callback.rb
2011-08-28 10:53:43 -04:00

18 lines
330 B
Ruby

module Fog
module DNS
class Rackspace
class Real
def callback(job_id)
validate_path_fragment :job_id, job_id
request(
:expects => [200, 202, 204],
:method => 'GET',
:path => "status/#{job_id}"
)
end
end
end
end
end