# frozen_string_literal: true module EodFacade class Eod < ::EodFacade::Base class << self def call(symbol, params = {}) make_request(url_path(symbol), params.merge(fmt: 'json')) end private def url_path(symbol) "/eod/#{symbol}" end end end end