Module: Tappay::Endpoints
- Defined in:
- lib/tappay/endpoints.rb
Defined Under Namespace
Modules: Bind, Payment, Transaction
Class Method Summary collapse
Class Method Details
.base_url ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/tappay/endpoints.rb', line 6 def base_url if Tappay.configuration.sandbox? 'https://sandbox.tappaysdk.com' else 'https://prod.tappaysdk.com' end end |
.refund_url ⇒ Object
14 15 16 |
# File 'lib/tappay/endpoints.rb', line 14 def refund_url "#{base_url}/tpc/transaction/refund" end |