Class: Adp::Connection::ConnectionConfiguration
- Inherits:
-
Object
- Object
- Adp::Connection::ConnectionConfiguration
- Defined in:
- lib/adp/connection_configuration.rb
Direct Known Subclasses
AuthorizationCodeConfiguration, ClientCredentialConfiguration
Instance Attribute Summary collapse
-
#accessScope ⇒ Object
Returns the value of attribute accessScope.
-
#apiRequestURL ⇒ Object
Returns the value of attribute apiRequestURL.
-
#clientID ⇒ Object
Returns the value of attribute clientID.
-
#clientSecret ⇒ Object
Returns the value of attribute clientSecret.
-
#grantType ⇒ Object
Returns the value of attribute grantType.
-
#sslCaPath ⇒ Object
Returns the value of attribute sslCaPath.
-
#sslCertPath ⇒ Object
Returns the value of attribute sslCertPath.
-
#sslKeyPass ⇒ Object
Returns the value of attribute sslKeyPass.
-
#sslKeyPath ⇒ Object
Returns the value of attribute sslKeyPath.
-
#tokenServerURL ⇒ Object
Returns the value of attribute tokenServerURL.
Instance Method Summary collapse
-
#initialize(config) ⇒ ConnectionConfiguration
constructor
A new instance of ConnectionConfiguration.
Constructor Details
#initialize(config) ⇒ ConnectionConfiguration
Returns a new instance of ConnectionConfiguration.
18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/adp/connection_configuration.rb', line 18 def initialize( config ) self.clientID = config["clientID"] self.clientSecret = config["clientSecret"] self.sslCertPath = config["sslCertPath"] self.sslCaPath = config["sslCaPath"] self.sslKeyPath = config["sslKeyPath"] self.sslKeyPass = config["sslKeyPass"] self.tokenServerURL = config["tokenServerURL"] self.apiRequestURL = config["apiRequestURL"] self.accessScope = config["accessScope"] end |
Instance Attribute Details
#accessScope ⇒ Object
Returns the value of attribute accessScope.
14 15 16 |
# File 'lib/adp/connection_configuration.rb', line 14 def accessScope @accessScope end |
#apiRequestURL ⇒ Object
Returns the value of attribute apiRequestURL.
13 14 15 |
# File 'lib/adp/connection_configuration.rb', line 13 def apiRequestURL @apiRequestURL end |
#clientID ⇒ Object
Returns the value of attribute clientID.
6 7 8 |
# File 'lib/adp/connection_configuration.rb', line 6 def clientID @clientID end |
#clientSecret ⇒ Object
Returns the value of attribute clientSecret.
7 8 9 |
# File 'lib/adp/connection_configuration.rb', line 7 def clientSecret @clientSecret end |
#grantType ⇒ Object
Returns the value of attribute grantType.
15 16 17 |
# File 'lib/adp/connection_configuration.rb', line 15 def grantType @grantType end |
#sslCaPath ⇒ Object
Returns the value of attribute sslCaPath.
9 10 11 |
# File 'lib/adp/connection_configuration.rb', line 9 def sslCaPath @sslCaPath end |
#sslCertPath ⇒ Object
Returns the value of attribute sslCertPath.
8 9 10 |
# File 'lib/adp/connection_configuration.rb', line 8 def sslCertPath @sslCertPath end |
#sslKeyPass ⇒ Object
Returns the value of attribute sslKeyPass.
11 12 13 |
# File 'lib/adp/connection_configuration.rb', line 11 def sslKeyPass @sslKeyPass end |
#sslKeyPath ⇒ Object
Returns the value of attribute sslKeyPath.
10 11 12 |
# File 'lib/adp/connection_configuration.rb', line 10 def sslKeyPath @sslKeyPath end |
#tokenServerURL ⇒ Object
Returns the value of attribute tokenServerURL.
12 13 14 |
# File 'lib/adp/connection_configuration.rb', line 12 def tokenServerURL @tokenServerURL end |