module Paya
Constants
- API_END_POINT
- CERTITICATION_API_END_POINT
- GET_ARCHIVED_RESPONSE
- PROCESS_SINGLE_CERTIFICATION_CHECK
- PROCESS_SINGLE_CHECK
- VERSION
Attributes
configuration[RW]
Public Class Methods
client()
click to toggle source
# File lib/paya.rb, line 99 def client test_mode ? sandbox_client : live_client end
configure() { |configuration| ... }
click to toggle source
# File lib/paya.rb, line 117 def self.configure self.configuration ||= Configuration.new yield(configuration) end
live_client()
click to toggle source
# File lib/paya.rb, line 103 def live_client ::Savon.client(wsdl: Paya::API_END_POINT) end
sandbox_client()
click to toggle source
# File lib/paya.rb, line 107 def sandbox_client ::Savon.client(wsdl: Paya::CERTITICATION_API_END_POINT) end
test_mode()
click to toggle source
# File lib/paya.rb, line 111 def test_mode !Paya.configuration.production end