Sha256: 3e964187a6c3adcc60977767626ddba7893d9b7a60a9072018add623377898ef
Contents?: true
Size: 699 Bytes
Versions: 4
Compression:
Stored size: 699 Bytes
Contents
::MoIP.setup do |config| config.uri = (PaymentEngines.configuration.get_without_cache(:moip_uri) rescue nil) || '' config.token = (PaymentEngines.configuration.get_without_cache(:moip_token) rescue nil) || '' config.key = (PaymentEngines.configuration.get_without_cache(:moip_key) rescue nil) || '' end MOIP_V2_ENDPOINT = begin if PaymentEngines.configuration.get_without_cache(:moip_test) == 'true' 'https://test.moip.com.br' else 'https://api.moip.com.br' end rescue Exception => e 'https://test.moip.com.br' end
Version data entries
4 entries across 4 versions & 1 rubygems