Sha256: c3040c45ff95de35d0d3be590983015fc08ee50dbdf38b821db7bfefc222ea38
Contents?: true
Size: 217 Bytes
Versions: 1
Compression:
Stored size: 217 Bytes
Contents
require 'json' module FacebookSDK module FaradayMiddleware class JSONDecoder < Faraday::Response::Middleware def on_complete(env) env[:body] = JSON.parse env[:body] end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facebook_sdk-0.0.2 | lib/facebook_sdk/faraday-middleware/json_decoder.rb |