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

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

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

@class
@param {Object} opts
Friends wrapper for friends - related API calls .