datadoctorwrapper 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/datadoctorwrapper/version.rb +1 -1
- data/lib/datadoctorwrapper.rb +2 -2
- metadata +1 -1
data/lib/datadoctorwrapper.rb
CHANGED
@@ -31,7 +31,7 @@ module DataDoctorWrapper
|
|
31
31
|
return job_id
|
32
32
|
end
|
33
33
|
def status service,jobid
|
34
|
-
if
|
34
|
+
if AVAILABLE_SERVICES.include? service
|
35
35
|
url = SERVICE_URL[service]
|
36
36
|
status = get_status url,jobid
|
37
37
|
return status
|
@@ -40,7 +40,7 @@ module DataDoctorWrapper
|
|
40
40
|
end
|
41
41
|
end
|
42
42
|
def result service,jobid
|
43
|
-
if
|
43
|
+
if AVAILABLE_SERVICES.include? service
|
44
44
|
url = SERVICE_URL[service]
|
45
45
|
result = get_result url,jobid
|
46
46
|
return result
|