Class: MangoPay::Configuration
- Inherits:
-
Object
- Object
- MangoPay::Configuration
- Defined in:
- lib/mangopay.rb
Instance Attribute Summary collapse
-
#client_apiKey ⇒ Object
Returns the value of attribute client_apiKey.
-
#client_id ⇒ Object
Returns the value of attribute client_id.
-
#http_max_retries ⇒ Object
Returns the value of attribute http_max_retries.
-
#http_open_timeout ⇒ Object
Returns the value of attribute http_open_timeout.
-
#http_timeout ⇒ Object
Returns the value of attribute http_timeout.
-
#log_file ⇒ Object
Returns the value of attribute log_file.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#preproduction ⇒ Object
Returns the value of attribute preproduction.
-
#root_url ⇒ Object
Returns the value of attribute root_url.
-
#temp_dir ⇒ Object
Returns the value of attribute temp_dir.
-
#use_ssl ⇒ Object
Returns the value of attribute use_ssl.
Instance Method Summary collapse
Instance Attribute Details
#client_apiKey ⇒ Object
Returns the value of attribute client_apiKey.
53 54 55 |
# File 'lib/mangopay.rb', line 53 def client_apiKey @client_apiKey end |
#client_id ⇒ Object
Returns the value of attribute client_id.
53 54 55 |
# File 'lib/mangopay.rb', line 53 def client_id @client_id end |
#http_max_retries ⇒ Object
Returns the value of attribute http_max_retries.
53 54 55 |
# File 'lib/mangopay.rb', line 53 def http_max_retries @http_max_retries end |
#http_open_timeout ⇒ Object
Returns the value of attribute http_open_timeout.
53 54 55 |
# File 'lib/mangopay.rb', line 53 def http_open_timeout @http_open_timeout end |
#http_timeout ⇒ Object
Returns the value of attribute http_timeout.
53 54 55 |
# File 'lib/mangopay.rb', line 53 def http_timeout @http_timeout end |
#log_file ⇒ Object
Returns the value of attribute log_file.
53 54 55 |
# File 'lib/mangopay.rb', line 53 def log_file @log_file end |
#logger ⇒ Object
Returns the value of attribute logger.
53 54 55 |
# File 'lib/mangopay.rb', line 53 def logger @logger end |
#preproduction ⇒ Object
Returns the value of attribute preproduction.
53 54 55 |
# File 'lib/mangopay.rb', line 53 def preproduction @preproduction end |
#root_url ⇒ Object
Returns the value of attribute root_url.
53 54 55 |
# File 'lib/mangopay.rb', line 53 def root_url @root_url end |
#temp_dir ⇒ Object
Returns the value of attribute temp_dir.
53 54 55 |
# File 'lib/mangopay.rb', line 53 def temp_dir @temp_dir end |
#use_ssl ⇒ Object
Returns the value of attribute use_ssl.
53 54 55 |
# File 'lib/mangopay.rb', line 53 def use_ssl @use_ssl end |
Instance Method Details
#use_ssl? ⇒ Boolean
79 80 81 82 83 84 85 |
# File 'lib/mangopay.rb', line 79 def use_ssl? return true unless preproduction == true return true unless defined?(@use_ssl) return false if @use_ssl == false true end |