Module: PayPal

Defined in:
lib/paypal/charge.rb,
lib/paypal/account.rb,
lib/paypal/merchant.rb,
lib/paypal/transfer.rb,
lib/paypal_merchant.rb,
lib/paypal/merchant/mass_pay.rb,
lib/paypal/merchant/reporting.rb,
lib/paypal/merchant/do_direct_payment.rb

Defined Under Namespace

Modules: Merchant Classes: Account, Charge, Transfer

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.client_idObject

Returns the value of attribute client_id.



19
20
21
# File 'lib/paypal_merchant.rb', line 19

def client_id
  @client_id
end

.client_secretObject

Returns the value of attribute client_secret.



19
20
21
# File 'lib/paypal_merchant.rb', line 19

def client_secret
  @client_secret
end

.loggerObject

Returns the value of attribute logger.



19
20
21
# File 'lib/paypal_merchant.rb', line 19

def logger
  @logger
end

.modeObject

Returns the value of attribute mode.



19
20
21
# File 'lib/paypal_merchant.rb', line 19

def mode
  @mode
end

.passwordObject

Returns the value of attribute password.



19
20
21
# File 'lib/paypal_merchant.rb', line 19

def password
  @password
end

.signatureObject

Returns the value of attribute signature.



19
20
21
# File 'lib/paypal_merchant.rb', line 19

def signature
  @signature
end

.usernameObject

Returns the value of attribute username.



19
20
21
# File 'lib/paypal_merchant.rb', line 19

def username
  @username
end

Class Method Details

.configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (PayPal)

    the object that the method was called on



21
22
23
24
25
# File 'lib/paypal_merchant.rb', line 21

def configure
  yield self
  configure_sdk
  self
end