Sha256: 2eb2821cb1f604d42bac0fa15fa4d8a788ca852b0c62d1107341ffb1d02e4ea2
Contents?: true
Size: 339 Bytes
Versions: 8
Compression:
Stored size: 339 Bytes
Contents
# Force the request headers to only accept JSON, and disable gzip. # This makes our VCR cassettes human readable. module RestClient class Request def default_headers { accept: 'application/json', accept_encoding: 'identity', user_agent: RestClient::Platform.default_user_agent } end end end
Version data entries
8 entries across 8 versions & 2 rubygems