Sha256: 827fdb1d76068b12844b55a90cf1c1431abdede4ec5c0e823b4181b87c4d309b

Contents?: true

Size: 941 Bytes

Versions: 4

Compression:

Stored size: 941 Bytes

Contents

# frozen_string_literal: true

require './lib/fintecture'

# ------------ Test class -------------
config = JSON.parse(File.read('./exemples/config_pis.json'))

pis_client = Fintecture::PisClient.new({
                                         environment: config['environment'],
                                         app_id: config['app_id'],
                                         app_secret: config['app_secret'],
                                         private_key: config['private_key']
                                       })

# ######################## RESSOURCES ########################
# ------------ Get providers ------------
puts pis_client.providers provider_id: 'agfbfr'
puts pis_client.providers paramsProviders: paramsProviders
# ------------ Get applications ------------
puts pis_client.applications
# ------------ Get test accounts ------------
puts pis_client.test_accounts
puts pis_client.test_accounts 'bbvaes'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fintecture-0.6.2 exemples/ressources.rb
fintecture-0.6.1 exemples/ressources.rb
fintecture-0.6.0 exemples/ressources.rb
fintecture-0.4.0 exemples/ressources.rb