Sha256: 724599b71e4d066aec2f88bff757f493124565a0b208b5007bbb34ff7b2c105f

Contents?: true

Size: 145 Bytes

Versions: 8

Compression:

Stored size: 145 Bytes

Contents

module Response
  module JSONParser
    def response_body
      ActiveSupport::JSON.decode(response.body) if response.present?
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
async_request-1.0.0 spec/support/parsed_response_helper.rb
async_request-0.0.7 spec/support/parsed_response_helper.rb
async_request-0.0.6 spec/support/parsed_response_helper.rb
async_request-0.0.5 spec/support/parsed_response_helper.rb
async_request-0.0.4 spec/support/parsed_response_helper.rb
async_request-0.0.3 spec/support/parsed_response_helper.rb
async_request-0.0.2 spec/support/parsed_response_helper.rb
async_request-0.0.1 spec/support/parsed_response_helper.rb