Sha256: d2f08f2a58dcad7453b2cb474684461d5e87f5daf481a7b00e1857957d06b0ae

Contents?: true

Size: 170 Bytes

Versions: 3

Compression:

Stored size: 170 Bytes

Contents

require "action_dispatch/test_response/json/version"

ActionDispatch::Response.module_eval do
  def json
    @json ||= JSON.parse(body).with_indifferent_access
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
action_dispatch-test_response-json-6.1.0 lib/action_dispatch/test_response/json.rb
action_dispatch-test_response-json-5.2.3.1 lib/action_dispatch/test_response/json.rb
action_dispatch-test_response-json-5.2.3 lib/action_dispatch/test_response/json.rb