Class: PayPal::SDK::Subscriptions::Link
- Inherits:
-
RequestBase
- Object
- Core::API::DataTypes::Base
- RequestAPIBase
- RequestBase
- PayPal::SDK::Subscriptions::Link
- Defined in:
- lib/paypal-sdk/subscriptions/link.rb
Overview
Instance Attribute Summary
Attributes inherited from RequestAPIBase
Instance Method Summary collapse
Methods inherited from RequestBase
#commit, #create, create!, find, #path, #update
Methods inherited from RequestAPIBase
#http_header, #merge!, #raise_error!, raise_on_api_error, #success?
Methods included from RequestDataType
Instance Method Details
#call ⇒ Object
9 10 11 12 |
# File 'lib/paypal-sdk/subscriptions/link.rb', line 9 def call response = api.api_call(method: link.method, uri: URI.parse(link.href), header: {}) response end |