code: function makeDogma(agent) {
      let attributes = function (id) {
          if (id === undefined) {
              return agent.request('get_dogma_attributes', undefined);
          }
          else {
              return new AttributeImpl(agent, id);
          }
      };
      let effects = function (id) {
          if (id === undefined) {
              return agent.request('get_dogma_effects', undefined);
          }
          else {
              return new EffectImpl(agent, id);
          }
      };
      return { attributes, effects };
  }
docs: Create a new {@link Dogma} instance that uses the given `agent` to
  make its HTTP requests to the ESI interface.
  
  @param agent The agent making actual requests
  @returns A Dogma API instance