'use strict';

function Page(conn) {
  this._conn = conn;
}

Page.prototype = {
  list: function(key, options) {
    return this._conn.get('pages/'+key+'/', options)
  },
  retrieve: function(key, slug, options) {
    return this._conn.get('pages/'+key+'/'+slug+'/', options)
  }
}

module.exports = Page;

'use strict';

function Page(conn) {
  this._conn = conn;
}

Page.prototype = {
  list: function(page_type, options) {
    return this._conn.get('pages/'+page_type+'/', options)
  },
  retrieve: function(page_type, page_slug, options) {
    return this._conn.get('pages/'+page_type+'/'+page_slug+'/', options)
  }
}

module.exports = Page;

Rename local variables to match API naming conventions
Rename local variables to match API naming conventions
