Sha256: bc61fe34bebeb776be19c6f3c0db52377234799c8bef84a2087ca099b773f9e3
Contents?: true
Size: 306 Bytes
Versions: 3
Compression:
Stored size: 306 Bytes
Contents
# 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
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sensei_eod_utils-0.0.10 | lib/eod_facade/eod.rb |
sensei_eod_utils-0.0.9 | lib/eod_facade/eod.rb |
sensei_eod_utils-0.0.8 | lib/eod_facade/eod.rb |