Sha256: 2f870ab6ca08f7f6ce7f30568a965c7dd65120450d4ed318d3560ea842e9b19e

Contents?: true

Size: 894 Bytes

Versions: 1

Compression:

Stored size: 894 Bytes

Contents

module Adp
  module Connection

    class ConnectionConfiguration

      attr_accessor :clientID
      attr_accessor :clientSecret
      attr_accessor :sslCertPath
      attr_accessor :sslCaPath
      attr_accessor :sslKeyPath
      attr_accessor :sslKeyPass
      attr_accessor :tokenServerURL
      attr_accessor :apiRequestURL
      attr_accessor :accessScope
      attr_accessor :grantType


      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
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
adp-connection-0.1.5 lib/adp/connection_configuration.rb