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.
-
#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.
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
#accessScope ⇒ Object
Returns the value of attribute accessScope.
13 14 15 |
# File 'lib/adp/connection_configuration.rb', line 13 def accessScope @accessScope end |
#apiRequestURL ⇒ Object
Returns the value of attribute apiRequestURL.
12 13 14 |
# File 'lib/adp/connection_configuration.rb', line 12 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.
14 15 16 |
# File 'lib/adp/connection_configuration.rb', line 14 def grantType @grantType 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.
10 11 12 |
# File 'lib/adp/connection_configuration.rb', line 10 def sslKeyPass @sslKeyPass end |
#sslKeyPath ⇒ Object
Returns the value of attribute sslKeyPath.
9 10 11 |
# File 'lib/adp/connection_configuration.rb', line 9 def sslKeyPath @sslKeyPath end |
#tokenServerURL ⇒ Object
Returns the value of attribute tokenServerURL.
11 12 13 |
# File 'lib/adp/connection_configuration.rb', line 11 def tokenServerURL @tokenServerURL end |