mirror of
				https://github.com/fog/fog.git
				synced 2022-11-09 13:51:43 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			405 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			405 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
module Fog
 | 
						|
  module DNS
 | 
						|
    class Rackspace
 | 
						|
      class Real
 | 
						|
        def callback(job_id, show_details=true)
 | 
						|
 | 
						|
          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
 |