Sha256: 68ab845335a4db5e380f484fea81456122fea0265b73b53595f4181088d8bbfd

Contents?: true

Size: 559 Bytes

Versions: 1

Compression:

Stored size: 559 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.cru.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

1 entries across 1 versions & 1 rubygems

Version Path
relay_api_client-0.0.3 lib/relay_api_client.rb