Skip to content

Instantly share code, notes, and snippets.

@Pepan Pepan/mitek.rb
Created Oct 18, 2017

Embed
What would you like to do?
conf = YAML.load_file('config/mitek.yml')
Bikelink::Application.config.mitek = OpenStruct.new(conf[Rails.env])
development: &development
token_url: 'https://identity.us.sandbox.mitekcloud.com/connect/token'
data_url: 'https://globalidentity.us.sandbox.mitekcloud.com/api/Verify/v2/Dossier'
user: 'xxxx.sandbox.test'
password: 'xxxxxxx'
test:
<<: *development
production:
token_url: 'https://xxxxx.mitekcloud.com/....'
data_url: 'https://xxxxx.mitekcloud.com/....'
user: 'xxxxxxxx'
password: 'xxxxxxxxxxx'
@Pepan

This comment has been minimized.

Copy link
Owner Author

commented Oct 18, 2017

config/initializers/mitek.rb
config/mitek.yml

Bikelink::Application.config.mitek.user / password / token_url / data_url

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.