Calling Ruby Script with {Query} parameter in Workflow Help & Questions Posted August 20, 2013 · Edited August 20, 2013 by akira I have same issue with my workflow in ruby. I'm trying to get data from a API. but Alfred give me 'fallback results' back.I can get correct feedback from Alfred if Item num is less than 11. persons = get_persons_from_a_API persons.each_with_index do |story, i| item = { :title => person['name'], :subtitle => person['address'], :arg => person['id'], :uid => person['id'], :icon => { :name => "icon.png" } } # I can't get proper feedback without 'if statement' feedback.add_item(item) if i < 10 end puts feedback.to_xml
Calling Ruby Script with {Query} parameter
in Workflow Help & Questions
Posted · Edited by akira
I have same issue with my workflow in ruby. I'm trying to get data from a API. but Alfred give me 'fallback results' back.
I can get correct feedback from Alfred if Item num is less than 11.