Class: PayPal::SDK::Core::Credential::Signature

Inherits:
Base
  • Object
show all
Defined in:
lib/paypal-sdk/core/credential/signature.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#app_id, #device_ipaddress, #password, #sandbox_email_address, #username

Instance Method Summary collapse

Constructor Details

#initialize(config) ⇒ Signature

Initialize configuration

Argument

  • config – Configuration object



10
11
12
13
# File 'lib/paypal-sdk/core/credential/signature.rb', line 10

def initialize(config)
  super
  self.signature = config.signature
end

Instance Attribute Details

#signatureObject

Returns the value of attribute signature.



5
6
7
# File 'lib/paypal-sdk/core/credential/signature.rb', line 5

def signature
  @signature
end

Instance Method Details

#propertiesObject

Return properties for authentication



16
17
18
# File 'lib/paypal-sdk/core/credential/signature.rb', line 16

def properties
  super.merge({ :signature => signature })
end