Sha256: 176688593379349d3b4ff8c7d3874a7cf9ce0fa87452669e2ed1a006dcdadfa1

Contents?: true

Size: 229 Bytes

Versions: 1

Compression:

Stored size: 229 Bytes

Contents

require 'hashie'

module FacebookSDK
  module FaradayMiddleware
    class HashieConverter < Faraday::Response::Middleware

      def on_complete(env)
        env[:body] = Hashie::Mash.new 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/hashie_converter.rb