Method: Configuration#initialize

Defined in:
lib/configuration.rb

#initializeConfiguration

Returns a new instance of Configuration.



18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# File 'lib/configuration.rb', line 18

def initialize
  @callback_url = nil
  @debug = false
  @sandbox = false
  @webhook = nil
  @webhook_method = "POST"
  @mitm_server = nil
  @secrets_path = nil
  @min_amount = 10000
  @webpanel_path = nil
  @username = nil
  @password = nil
  @allowed_ips = ['*']
  @allow_when = -> { true }
  @captcha = false
  @model = nil
  @database_url = nil
end