class MangoPay::Configuration
Top-level configuration details
Attributes
client_apiKey[RW]
- String
-
Your client apiKey
client_id[RW]
- String
-
Your client ID
http_timeout[RW]
- Integer
-
Number of milliseconds after which to timeout requests
log_dir[RW]
- String
-
Path for logging file
preproduction[RW]
- true/false
-
True if the sandbox environment should be used
preproduction?[RW]
- true/false
-
True if the sandbox environment should be used
root_url[RW]
- String
-
Root URL to use for requests
temp_dir[RW]
- String
-
Path to directory in which to store authorization token If nil, tokens will be stored in-memory.
Public Class Methods
new()
click to toggle source
# File lib/mangopay/configuration.rb, line 28 def initialize self.preproduction = true self.http_timeout = 10_000 end
Public Instance Methods
api_version()
click to toggle source
# File lib/mangopay/configuration.rb, line 33 def api_version 'v2.01' end