Class: Alloy::KYC::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



11
12
13
14
15
16
17
18
# File 'lib/alloy/kyc/configuration.rb', line 11

def initialize
  @application_token = "dpDD6z4olOSI7N4fMCsAlKjFa7reBYhu"
  @application_secret = "oJm3niQX1Pdy4z675kefEIKBgFn9tQ45"
  @api_endpoint = "https://sandbox.alloy.co/v1/"
  @backend = Alloy::KYC::Backends::Remote.new
  @open_timeout = 2
  @read_timeout = 5
end

Instance Attribute Details

#api_endpointObject

Returns the value of attribute api_endpoint.



6
7
8
# File 'lib/alloy/kyc/configuration.rb', line 6

def api_endpoint
  @api_endpoint
end

#application_secretObject

Returns the value of attribute application_secret.



5
6
7
# File 'lib/alloy/kyc/configuration.rb', line 5

def application_secret
  @application_secret
end

#application_tokenObject

Returns the value of attribute application_token.



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

def application_token
  @application_token
end

#backendObject

Returns the value of attribute backend.



7
8
9
# File 'lib/alloy/kyc/configuration.rb', line 7

def backend
  @backend
end

#open_timeoutObject

Returns the value of attribute open_timeout.



8
9
10
# File 'lib/alloy/kyc/configuration.rb', line 8

def open_timeout
  @open_timeout
end

#read_timeoutObject

Returns the value of attribute read_timeout.



9
10
11
# File 'lib/alloy/kyc/configuration.rb', line 9

def read_timeout
  @read_timeout
end