Sha256: 5bc526d4e1a018651444a0566a4160d90119c604c7d46acd5d836b60caab87b1
Contents?: true
Size: 367 Bytes
Versions: 1
Compression:
Stored size: 367 Bytes
Contents
# frozen_string_literal: true class Contentful::Client class << self alias_method :old_get_http, :get_http end def self.get_http(url, query, headers = {}, proxy = {}) if override = WCC::Contentful.configuration.override_get_http override.call(url, query, headers, proxy) else old_get_http(url, query, headers, proxy) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wcc-contentful-0.1.0 | lib/wcc/contentful/client_ext.rb |