Class: PayPal::SDK::Core::Credential::Signature
- Defined in:
- lib/paypal-sdk/core/credential/signature.rb
Instance Attribute Summary collapse
-
#signature ⇒ Object
Returns the value of attribute signature.
Attributes inherited from Base
#app_id, #device_ipaddress, #password, #sandbox_email_address, #username
Instance Method Summary collapse
-
#initialize(config) ⇒ Signature
constructor
Initialize configuration === Argument *
config
– Configuration object. -
#properties ⇒ Object
Return properties for authentication.
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
#signature ⇒ Object
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
#properties ⇒ Object
Return properties for authentication
16 17 18 |
# File 'lib/paypal-sdk/core/credential/signature.rb', line 16 def properties super.merge({ :signature => signature }) end |