Class: Adp::Connection::ConnectionConfiguration

Inherits:
Object
  • Object
show all
Defined in:
lib/adp/connection_configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(config) ⇒ ConnectionConfiguration

Returns a new instance of ConnectionConfiguration.



17
18
19
20
21
22
23
24
25
26
27
# File 'lib/adp/connection_configuration.rb', line 17

def initialize( config )

  self.clientID = config["clientID"]
  self.clientSecret = config["clientSecret"]
  self.sslCertPath = config["sslCertPath"]
  self.sslKeyPath = config["sslKeyPath"]
  self.sslKeyPass = config["sslKeyPass"]
  self.tokenServerURL = config["tokenServerURL"]
  self.apiRequestURL = config["apiRequestURL"]
  self.accessScope = config["accessScope"]
end

Instance Attribute Details

#accessScopeObject

Returns the value of attribute accessScope.



13
14
15
# File 'lib/adp/connection_configuration.rb', line 13

def accessScope
  @accessScope
end

#apiRequestURLObject

Returns the value of attribute apiRequestURL.



12
13
14
# File 'lib/adp/connection_configuration.rb', line 12

def apiRequestURL
  @apiRequestURL
end

#clientIDObject

Returns the value of attribute clientID.



6
7
8
# File 'lib/adp/connection_configuration.rb', line 6

def clientID
  @clientID
end

#clientSecretObject

Returns the value of attribute clientSecret.



7
8
9
# File 'lib/adp/connection_configuration.rb', line 7

def clientSecret
  @clientSecret
end

#grantTypeObject

Returns the value of attribute grantType.



14
15
16
# File 'lib/adp/connection_configuration.rb', line 14

def grantType
  @grantType
end

#sslCertPathObject

Returns the value of attribute sslCertPath.



8
9
10
# File 'lib/adp/connection_configuration.rb', line 8

def sslCertPath
  @sslCertPath
end

#sslKeyPassObject

Returns the value of attribute sslKeyPass.



10
11
12
# File 'lib/adp/connection_configuration.rb', line 10

def sslKeyPass
  @sslKeyPass
end

#sslKeyPathObject

Returns the value of attribute sslKeyPath.



9
10
11
# File 'lib/adp/connection_configuration.rb', line 9

def sslKeyPath
  @sslKeyPath
end

#tokenServerURLObject

Returns the value of attribute tokenServerURL.



11
12
13
# File 'lib/adp/connection_configuration.rb', line 11

def tokenServerURL
  @tokenServerURL
end