Sha256: 52ea05cbe509c534e753c46e5423deb38d30b517f12e8effb447bfec526e137f
Contents?: true
Size: 805 Bytes
Versions: 1
Compression:
Stored size: 805 Bytes
Contents
module PayPal module ExpressCheckout class Api API_ENDPOINTS = { :sandbox => "https://api-3t.sandbox.paypal.com/nvp", :production => "https://api-3t.paypal.com/nvp" } class << self def username PayPal::Api.instance.username end def password PayPal::Api.instance.password end def signature PayPal::Api.instance.signature end def app_id PayPal::Api.instance.app_id end def environment PayPal::Api.environment end def api_endpoint self::API_ENDPOINTS[environment] end # Return PayPal's API version. # def api_version "93.0" end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
paypal-payment-0.1.2 | lib/paypal/express_checkout/api.rb |