def compile(csdl, service = 'facebook')
      fail BadParametersError, 'csdl is required' if csdl.empty?
      fail BadParametersError, 'service is required' if service.empty?

      params = { csdl: csdl }

      DataSift.request(:POST, build_path(service, 'pylon/compile', @config), @config, params)
    end
def compile(csdl, service = 'facebook')
      fail BadParametersError, 'csdl is required' if csdl.empty?
      fail BadParametersError, 'service is required' if service.empty?

      params = { csdl: csdl }

      DataSift.request(:POST, build_path(service, 'pylon/compile', @config), @config, params)
    end
Compile PYLON CSDL by making an /pylon/compile API call

 @param csdl [String] CSDL you wish to compile
 @param service [String] The PYLON service to make this API call against
 @return [Object] API reponse object