Class: PayPal::SDK::Subscriptions::API
- Inherits:
-
Core::API::REST
- Object
- Core::API::REST
- PayPal::SDK::Subscriptions::API
- Defined in:
- lib/paypal-sdk/subscriptions/request_data_type.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(environment = nil, options = {}) ⇒ API
constructor
A new instance of API.
Constructor Details
#initialize(environment = nil, options = {}) ⇒ API
Returns a new instance of API.
20 21 22 |
# File 'lib/paypal-sdk/subscriptions/request_data_type.rb', line 20 def initialize(environment = nil, = {}) super("", environment, ) end |
Class Method Details
.user_agent ⇒ Object
25 26 27 |
# File 'lib/paypal-sdk/subscriptions/request_data_type.rb', line 25 def user_agent @user_agent ||= "PayPalSDK/PayPal-Subscriptions-Ruby-SDK #{PayPal::SDK::Subscriptions::VERSION} (#{sdk_library_details})" end |