Method: Psapi::Channel#yellow_pages
- Defined in:
- lib/psapi/channel.rb
#yellow_pages ⇒ Object
21 22 23 24 25 26 |
# File 'lib/psapi/channel.rb', line 21 def yellow_pages yps = YellowPage.all @yellow_pages.map { |yellowPageId:| yps.find { |y| y.yellow_page_id == yellowPageId } or fail "yellow page id #{yellowPageId} not found" } end |