# frozen_string_literal: true require 'oj' module EodFacade class Fundamentals < ::EodFacade::Base class << self def call(symbol) data = make_request(url_path(symbol)) Oj.load(data) end private def url_path(symbol) "/fundamentals/#{symbol}" end end end end