Sha256: 8b3f0a19a0dd233019fa5937e6a0cb1aefb6484823344cb7198371993b7d48d6

Contents?: true

Size: 371 Bytes

Versions: 1

Compression:

Stored size: 371 Bytes

Contents

# 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)

        make_request(url_path(symbol))
      end

      private

      def url_path(symbol)
        "/fundamentals/#{symbol}"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sensei_eod_utils-0.0.7 lib/eod_facade/fundamentals.rb