Sha256: bec3432b869d31e2284c7f5e1f39d9ace183148bb3545dd4211944c8e6e22598

Contents?: true

Size: 298 Bytes

Versions: 3

Compression:

Stored size: 298 Bytes

Contents

# frozen_string_literal: true

require 'oj'

module EodFacade
  class Fundamentals < ::EodFacade::Base
    class << self
      def call(symbol)
        make_request(url_path(symbol))
      end

      private

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sensei_eod_utils-0.0.10 lib/eod_facade/fundamentals.rb
sensei_eod_utils-0.0.9 lib/eod_facade/fundamentals.rb
sensei_eod_utils-0.0.8 lib/eod_facade/fundamentals.rb