class PayPal::SDK::REST::API

Public Class Methods

new(environment = nil, options = {}) click to toggle source

include Services

Calls superclass method PayPal::SDK::Core::API::Base::new
# File lib/paypal-sdk/rest/api.rb, line 10
def initialize(environment = nil, options = {})
  super("", environment, options)
end
user_agent() click to toggle source
# File lib/paypal-sdk/rest/api.rb, line 15
def user_agent
  @user_agent ||= "PayPalSDK/PayPal-Ruby-SDK #{PayPal::SDK::REST::VERSION} (#{sdk_library_details})"
end