Sha256: cb6b3d4811c8a4f9d2bc5f2647bd0d9d4ffe6ac608e6a977c20cd8936618c97f
Contents?: true
Size: 362 Bytes
Versions: 3
Compression:
Stored size: 362 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.http_adapter override.call(url, query, headers, proxy) else old_get_http(url, query, headers, proxy) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
wcc-contentful-0.2.2 | lib/wcc/contentful/client_ext.rb |
wcc-contentful-0.2.1 | lib/wcc/contentful/client_ext.rb |
wcc-contentful-0.2.0 | lib/wcc/contentful/client_ext.rb |