Sha256: 3c6bc2a01946397829529cb71b67fe262fbdbc8691d377af91d9170850e7354c
Contents?: true
Size: 519 Bytes
Versions: 35
Compression:
Stored size: 519 Bytes
Contents
module Rubydora # Fedora SOAP API extension module Soap # @param [Rubydora::Repository] repository def self.extended repository require 'savon' end # SOAP API endpoint # @return [SOAP::RPC::Driver] def soap @soap ||= begin client = Savon::Client.new do |wsdl, http| wsdl.document = "#{ config[:url] }/wsdl?api=API-M" http.auth.basic config[:user], config[:password] end end end end end
Version data entries
35 entries across 35 versions & 1 rubygems