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

Version Path
facebook_ads-0.6.3 spec/support/rest_client.rb
facebook_ads-0.6.2 spec/support/rest_client.rb
facebook_ads-0.6.0 spec/support/rest_client.rb
facebook_ads-0.5.1 spec/support/rest_client.rb
facebook_ads-0.5 spec/support/rest_client.rb
facebook_ads-0.4 spec/support/rest_client.rb
the_trade_desk_ads-0.0.1 spec/support/rest_client.rb
facebook_ads-0.1.12 spec/support/rest_client.rb