Sha256: b1642f36c45f28ef8fd93a7d149116ec2c8f1434346d455d093e245e5d65562f

Contents?: true

Size: 906 Bytes

Versions: 3

Compression:

Stored size: 906 Bytes

Contents

# deprecated constants

Faraday::Request.class_eval do
  autoload :OAuth,        'faraday_middleware/request/oauth'
  autoload :OAuth2,       'faraday_middleware/request/oauth2'
end

Faraday::Response.class_eval do
  autoload :Mashify,              'faraday_middleware/response/mashify'
  autoload :Rashify,              'faraday_middleware/response/rashify'
  autoload :ParseJson,            'faraday_middleware/response/parse_json'
  autoload :ParseXml,             'faraday_middleware/response/parse_xml'
  autoload :ParseNokogiriXml,     'faraday_middleware/response/parse_nokogiri_xml'
  autoload :ParseNokogiriHtml,    'faraday_middleware/response/parse_nokogiri_html'
  autoload :ForceUtf,             'faraday_middleware/response/force_utf'
  autoload :ParseMarshal,         'faraday_middleware/response/parse_marshal'
  autoload :ParseYaml,            'faraday_middleware/response/parse_yaml'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
agiley-faraday_middleware-0.9.1 lib/faraday_middleware/backwards_compatibility.rb
agiley-faraday_middleware-0.9.0 lib/faraday_middleware/backwards_compatibility.rb
agiley-faraday_middleware-0.8.3.2 lib/faraday_middleware/backwards_compatibility.rb