Sha256: 339565e616175e617383e1250f3e185dc6dbfa790b1f305c30846ec2d697532f

Contents?: true

Size: 472 Bytes

Versions: 1

Compression:

Stored size: 472 Bytes

Contents

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
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facebook_ads-0.4 spec/support/vcr.rb