Module: PayPal::SDK::REST

Extended by:
ClassMethods
Includes:
Core::Exceptions, DataTypes
Defined in:
lib/paypal-sdk/rest.rb,
lib/paypal-sdk/rest/api.rb,
lib/paypal-sdk/rest/set_api.rb,
lib/paypal-sdk/rest/version.rb,
lib/paypal-sdk/rest/get_api.rb,
lib/paypal-sdk/rest/data_types.rb,
lib/paypal-sdk/rest/error_hash.rb,
lib/paypal-sdk/rest/request_data_type.rb

Defined Under Namespace

Modules: ClassMethods, DataTypes, GetAPI, RequestDataType, SetAPI Classes: API, ErrorHash

Constant Summary collapse

VERSION =
"1.1.2"

Class Method Summary collapse

Methods included from ClassMethods

method_missing

Class Method Details

.included(klass) ⇒ Object


30
31
32
33
34
# File 'lib/paypal-sdk/rest.rb', line 30

def included(klass)
  if klass.is_a? Module
    klass.extend(ClassMethods)
  end
end

.new(*args) ⇒ Object


24
25
26
# File 'lib/paypal-sdk/rest.rb', line 24

def new(*args)
  API.new(*args)
end