91 92 93 94 95 96 97
# File 'lib/database.rb', line 91 def get_id(type, value) data = get_data(type, value) if data return data["id"] end nil end