YellowPages: a lightweight telephone directory
gem install bundler
git clone https://github.com/noahsilas/yp.git
cd yp
bundle installYP is configured via environment variables, as a
Twelve-Factor App. It reads a CSV from the web to
populate the directory. We expect the first row to have headers 'Name' and
'Phone'. Pass the URL for this CSV to the application as YP_PHONEBOOK_URI.
export YP_PHONEBOOK_URI='http://example.com/directory.csv'From the project root:
bundle exec ruby yp.rbbundle exec rspecVoice Request Url: /twilio/incoming
- A search that has more than ten results won't return the complete list, as we can't index into it with a single keypress.