Sha256: 252b1c7668c92fb3b09d23a75c9ecf5c1896872ece94e76b0b399b702f02e6dd
Contents?: true
Size: 261 Bytes
Versions: 89
Compression:
Stored size: 261 Bytes
Contents
module RawPost def raw_post(action, params, body, content_type = nil) @request.env['RAW_POST_DATA'] = body @request.env['CONTENT_TYPE'] = content_type response = post(action, params) @request.env.delete('RAW_POST_DATA') response end end
Version data entries
89 entries across 89 versions & 7 rubygems