routes/snaps.js
function Snaps (client, opts) {
  var self = this
  if (!(self instanceof Snaps)) return new Snaps(client, opts)
  if (!opts) opts = {}

  self.client = client
}
function Snaps (client, opts) {
  var self = this
  if (!(self instanceof Snaps)) return new Snaps(client, opts)
  if (!opts) opts = {}

  self.client = client
}
function Snaps ( client , opts ) { var self = this if ( ! ( self instanceof Snaps ) ) return new Snaps ( client , opts ) if ( ! opts ) opts = { } self . client = client }
Snapchat wrapper for Snap-related API calls.

@class
@param {Object} opts
Snapchat wrapper for Snap - related API calls .