Class: Paypal::Masspay::Configuration
- Inherits:
-
Object
- Object
- Paypal::Masspay::Configuration
- Defined in:
- lib/paypal/masspay/configuration.rb
Class Attribute Summary collapse
-
.environment ⇒ Object
Returns the value of attribute environment.
-
.password ⇒ Object
Returns the value of attribute password.
-
.signature ⇒ Object
Returns the value of attribute signature.
-
.username ⇒ Object
Returns the value of attribute username.
Class Method Summary collapse
Class Attribute Details
.environment ⇒ Object
Returns the value of attribute environment.
4 5 6 |
# File 'lib/paypal/masspay/configuration.rb', line 4 def environment @environment end |
.password ⇒ Object
Returns the value of attribute password.
4 5 6 |
# File 'lib/paypal/masspay/configuration.rb', line 4 def password @password end |
.signature ⇒ Object
Returns the value of attribute signature.
4 5 6 |
# File 'lib/paypal/masspay/configuration.rb', line 4 def signature @signature end |
.username ⇒ Object
Returns the value of attribute username.
4 5 6 |
# File 'lib/paypal/masspay/configuration.rb', line 4 def username @username end |
Class Method Details
.configure ⇒ Object
6 7 8 9 10 |
# File 'lib/paypal/masspay/configuration.rb', line 6 def configure @configuration ||= Paypal::Masspay::Configuration.tap do |config| yield config end end |