Sha256: 7076a9036d2f7a73161e28955916367c4c719b209deb23478ad9867e44f48831

Contents?: true

Size: 583 Bytes

Versions: 8

Compression:

Stored size: 583 Bytes

Contents

# frozen_string_literal: true

require 'vcr'

VCR.configure do |c|
  c.cassette_library_dir = 'spec/fixtures/cassettes'
  c.hook_into :webmock
  c.configure_rspec_metadata!
  c.default_cassette_options = {
    match_requests_on: [
      :method,
      VCR.request_matchers.uri_without_param(:access_token, :app_secret)
    ]
  }
  c.filter_sensitive_data('<access_token>') do
    FacebookAds.access_token
  end
  c.filter_sensitive_data('<appsecret_proof>') do
    FacebookAds.appsecret_proof
  end
  c.filter_sensitive_data('<api_version>') do
    FacebookAds.api_version
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
facebook_ads-0.7.0 spec/support/vcr.rb
facebook_ads-0.6.11 spec/support/vcr.rb
facebook_ads-0.6.10 spec/support/vcr.rb
facebook_ads-0.6.9 spec/support/vcr.rb
facebook_ads-0.6.7 spec/support/vcr.rb
facebook_ads-0.6.6 spec/support/vcr.rb
facebook_ads-0.6.5 spec/support/vcr.rb
facebook_ads-0.6.4 spec/support/vcr.rb