Sha256: 658c756a6f392e188a5cc104f6ae1e7bb58dc7ceb08e652ddc01029346cdba75

Contents?: true

Size: 270 Bytes

Versions: 10

Compression:

Stored size: 270 Bytes

Contents

# frozen_string_literal: true

require 'onfido'

RSpec.shared_context 'with onfido' do
  let(:onfido_api) do
    Onfido::DefaultApi.new
  end

  Onfido.configure do |config|
    config.api_token = ENV['ONFIDO_API_TOKEN']
    config.region = config.region[:EU]
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
onfido-4.3.0 spec/shared_contexts/with_onfido.rb
onfido-4.2.0 spec/shared_contexts/with_onfido.rb
onfido-4.1.0 spec/shared_contexts/with_onfido.rb
onfido-4.0.0 spec/shared_contexts/with_onfido.rb
onfido-3.4.0 spec/shared_contexts/with_onfido.rb
onfido-3.3.1 spec/shared_contexts/with_onfido.rb
onfido-3.3.0 spec/shared_contexts/with_onfido.rb
onfido-3.2.0 spec/shared_contexts/with_onfido.rb
onfido-3.1.0 spec/shared_contexts/with_onfido.rb
onfido-3.0.0 spec/shared_contexts/with_onfido.rb