Module: Vantiv::Paypage
- Defined in:
- lib/vantiv/paypage.rb
Class Method Summary collapse
Class Method Details
.api_js ⇒ Object
13 14 15 |
# File 'lib/vantiv/paypage.rb', line 13 def self.api_js "#{root_uri}/eProtect/litle-api2.js" end |
.jquery_js ⇒ Object
17 18 19 |
# File 'lib/vantiv/paypage.rb', line 17 def self.jquery_js "#{root_uri}/eProtect/js/jquery-1.11.2.min.js" end |
.payframe_js ⇒ Object
21 22 23 |
# File 'lib/vantiv/paypage.rb', line 21 def self.payframe_js "#{root_uri}/eProtect/js/payframe-client.min.js" end |
.root_uri ⇒ Object
3 4 5 6 7 8 9 10 11 |
# File 'lib/vantiv/paypage.rb', line 3 def self.root_uri if Vantiv::Environment.production? "https://request.eprotect.vantivcnp.com" elsif Vantiv::Environment.postcertification? "https://request.eprotect.vantivpostlive.com" else "https://request.eprotect.vantivprelive.com" end end |