Class: Payoneer::Configuration

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

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.client_certObject

Returns the value of attribute client_cert.



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

def client_cert
  @client_cert
end

.client_cert_passwdObject

Returns the value of attribute client_cert_passwd.



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

def client_cert_passwd
  @client_cert_passwd
end

.environmentObject

Returns the value of attribute environment.



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

def environment
  @environment
end

.partner_idObject

Returns the value of attribute partner_id.



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

def partner_id
  @partner_id
end

.passwordObject

Returns the value of attribute password.



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

def password
  @password
end

.program_idObject

Returns the value of attribute program_id.



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

def program_id
  @program_id
end

.usernameObject

Returns the value of attribute username.



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

def username
  @username
end

Class Method Details

.configureObject



6
7
8
9
10
# File 'lib/payoneer/configuration.rb', line 6

def configure
  @configuration ||= Payoneer::Configuration.tap do |config|
    yield config
  end
end