<commit_before>'use strict';
// var Lob = {};
// Lob.DEFAULT_HOST = 'api.Lob.com';
// Lob.DEFAULT_PORT = '443';
// Lob.DEFAULT_BASE_PATH = '/v1/';
// Lob.DEFAULT_API_VERSION = null;
//var USER_AGENT = 'Lob/node.js wrapper/1.0.0';

var Jobs = require('./jobs');
var Addresses = require('./addresses');
var Verification = require('./verification');
var Countries = require('./countries');
var States = require('./states');
var Objects = require('./objects');
var Settings = require('./settings');
var Services = require('./services');
var Postcards = require('./postcards');
var Checks = require('./checks');
var BankAccounts = require('./bankAccounts');
var Areas = require('./areas');
var Routes = require('./routes');

var Lob = function (apiKey) {
  if (typeof apiKey === 'string') {
    this.endpoint = 'https://api.lob.com/v1/';
    this.apiKey = apiKey;
  } else {
    throw new Error('API Key must be set');
  }
  this.jobs = new Jobs(this);
  this.addresses = new Addresses(this);
  this.verification = new Verification(this);<commit_msg>Instantiate if this === undefined<commit_after>'use strict';
// var Lob = {};
// Lob.DEFAULT_HOST = 'api.Lob.com';
// Lob.DEFAULT_PORT = '443';
// Lob.DEFAULT_BASE_PATH = '/v1/';
// Lob.DEFAULT_API_VERSION = null;
//var USER_AGENT = 'Lob/node.js wrapper/1.0.0';

var Jobs = require('./jobs');
var Addresses = require('./addresses');
var Verification = require('./verification');
var Countries = require('./countries');
var States = require('./states');
var Objects = require('./objects');
var Settings = require('./settings');
var Services = require('./services');
var Postcards = require('./postcards');
var Checks = require('./checks');
var BankAccounts = require('./bankAccounts');
var Areas = require('./areas');
var Routes = require('./routes');

var Lob = function (apiKey) {
  if (this === undefined) {
    return new Lob(apiKey);
  }
  if (typeof apiKey === 'string') {
    this.endpoint = 'https://api.lob.com/v1/';
    this.apiKey = apiKey;
  } else {
    throw new Error('API Key must be set');
  }
  this.jobs = new Jobs(this);
  this.addresses = new Addresses(this);
  this.verification = new Verification(this);
{'fraction_non_alphanumeric': 0.1967741935483871, 'fraction_numerical': 0.007373271889400922, 'mean_word_length': 3.9566210045662102, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '73274', 'n_tokens_mistral': 709, 'n_tokens_neox': 692, 'n_words': 176}