module FFaker::Book
def orly_cover(name = title, book_author = author, top_text = genre)
def orly_cover(name = title, book_author = author, top_text = genre) 'https://orly-appstore.herokuapp.com/generate?'\ "title=#{CGI.escape(name)}&"\ "top_text=#{CGI.escape(top_text)}&"\ "author=#{CGI.escape(book_author)}&"\ "image_code=#{Random.rand(1..40)}&"\ "theme=#{Random.rand(1..16)}" end