Sha256: d55cb13df2f7862b428a04d5ae88498676e2983b977c9c145d198204e987c5bb

Contents?: true

Size: 560 Bytes

Versions: 2

Compression:

Stored size: 560 Bytes

Contents

require 'savon'
require 'identity_linker'

module RelayApiClient
  class << self
    attr_accessor :wsdl, :linker_username, :linker_password

    def configure
      yield self

      self.wsdl ||= 'https://signin.ccci.org/sso/selfservice/webservice/5.0?wsdl'

      if linker_username && linker_password
        IdentityLinker.configure do |c|
          c.server_id = linker_username
          c.server_secret = linker_password
        end
      end
    end
  end
end


Dir[File.dirname(__FILE__) + '/relay_api_client/*.rb'].each do |file|
  require file
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
relay_api_client-0.0.2 lib/relay_api_client.rb
relay_api_client-0.0.1 lib/relay_api_client.rb