added a couple more methods

This commit is contained in:
booboy 2019-05-29 00:22:45 -05:00
parent 0dc1f1b654
commit 8a0757c10e

View file

@ -55,6 +55,20 @@ module ScansIoTools
def filenames_for(study_name)
file_info(study_name).select do |file|
file['name']
end.map do |file|
file['name']
end
end
def fingerprints_for(study_name)
file_info(study_name).map do |file|
file['fingerprint']
end
end
def file_urls_for(study_name)
file_info(study_name).map do |file|
file['name']
end
end