Sha256: 75de32b7957fa34343f2406d5be52b04290022fcaa08a9dce2cac767ce75c613
Contents?: true
Size: 660 Bytes
Versions: 6
Compression:
Stored size: 660 Bytes
Contents
require 'vcr' require 'pp' VCR.configure do |c| c.cassette_library_dir = 'spec/vcr/cassettes' c.hook_into :faraday c.configure_rspec_metadata! if ENV['RECORDING'] c.filter_sensitive_data('client_id_XXXXXXXXXXXXXXXXXXX') { ENV['DIGITAL_OCEAN_CLIENT_ID'] } c.filter_sensitive_data('api_key_YYYYYYYYYYYYYYYYYYYYY') { ENV['DIGITAL_OCEAN_API_KEY'] } end c.filter_sensitive_data('_digitalocean2_session=wtf') do |http_interaction| http_interaction.response.headers['set-cookie'].first end c.filter_sensitive_data('XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') do |http_interaction| http_interaction.response.headers['etag'].first end end
Version data entries
6 entries across 6 versions & 1 rubygems