Class: Libis::Services::Rosetta::Client
- Inherits:
-
Object
- Object
- Libis::Services::Rosetta::Client
- Includes:
- SoapClient, Tools::Logger
- Defined in:
- lib/libis/services/rosetta/client.rb
Direct Known Subclasses
CollectionHandler, DepositHandler, IeHandler, ProducerHandler, SipHandler, UserManager
Instance Attribute Summary
Attributes included from SoapClient
Instance Method Summary collapse
- #get_heart_bit ⇒ Object
-
#initialize(section, service, options = {}) ⇒ Client
constructor
A new instance of Client.
- #pds_handle=(handle) ⇒ Object
Methods included from SoapClient
#configure, #operations, #request
Constructor Details
#initialize(section, service, options = {}) ⇒ Client
Returns a new instance of Client.
19 20 21 22 23 |
# File 'lib/libis/services/rosetta/client.rb', line 19 def initialize(section, service, = {}) opts = {strip_namespaces: true, logger: ::Libis::Tools::Config.logger}.merge base_url = opts.delete(:url) || 'http://depot.lias.be' configure "#{base_url}/dpsws/#{section}/#{service}?wsdl", opts end |
Instance Method Details
#get_heart_bit ⇒ Object
29 30 31 |
# File 'lib/libis/services/rosetta/client.rb', line 29 def get_heart_bit request :get_heart_bit end |
#pds_handle=(handle) ⇒ Object
25 26 27 |
# File 'lib/libis/services/rosetta/client.rb', line 25 def pds_handle=(handle) @pds_handle = handle end |