Class: Paypal::Masspay::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/paypal/masspay/configuration.rb

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.environmentObject

Returns the value of attribute environment.



4
5
6
# File 'lib/paypal/masspay/configuration.rb', line 4

def environment
  @environment
end

.passwordObject

Returns the value of attribute password.



4
5
6
# File 'lib/paypal/masspay/configuration.rb', line 4

def password
  @password
end

.signatureObject

Returns the value of attribute signature.



4
5
6
# File 'lib/paypal/masspay/configuration.rb', line 4

def signature
  @signature
end

.usernameObject

Returns the value of attribute username.



4
5
6
# File 'lib/paypal/masspay/configuration.rb', line 4

def username
  @username
end

Class Method Details

.configureObject



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