service.coffee

Web Service for lipsum.com

Provides the low-level interface to the lipsum.com service.

Classes

Instance Methods

get(format, callback, queryOpts)

Retrieves the lipsum text.

format: {String} one of "xml" or "json"

callback: {Function} called on successful text retrieval. Should have one parameter to hold the response data.

queryOpts: {Object} options to attach to the query portion of the url.