Method: ScribdFu.load_ipaper_document
- Defined in:
- lib/scribd_fu.rb
.load_ipaper_document(id) ⇒ Object
Load, store, and return the associated iPaper document
96 97 98 99 100 |
# File 'lib/scribd_fu.rb', line 96 def load_ipaper_document(id) # Yes, catch-all rescues are bad, but the end rescue # should return nil, so laziness FTW. scribd_user.find_document(id) rescue nil end |