src/stallion.js
function default_init(user, password) {
  this.defaults.username = user;
  this.defaults.password = password;

  this.defaults.headers = {
    Accept: 'application/json'
  };
  this.defaults.headers['Content-Type'] = 'application/json';
}
function default_init(user, password) {
  this.defaults.username = user;
  this.defaults.password = password;

  this.defaults.headers = {
    Accept: 'application/json'
  };
  this.defaults.headers['Content-Type'] = 'application/json';
}
function default_init ( user , password ) { this . defaults . username = user ; this . defaults . password = password ; this . defaults . headers = { Accept : 'application/json' } ; this . defaults . headers [ 'Content-Type' ] = 'application/json' ; }
Default Restler service function
@param  {String} user
@param  {String} password
Default Restler service function