Class: Libis::Services::Rosetta::Client

Inherits:
Object
  • Object
show all
Includes:
SoapClient, Tools::Logger
Defined in:
lib/libis/services/rosetta/client.rb

Instance Attribute Summary

Attributes included from SoapClient

#client

Instance Method Summary collapse

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, options = {})
  opts = {strip_namespaces: true, logger: ::Libis::Tools::Config.logger}.merge options
  base_url = opts.delete(:url) || 'http://depot.lias.be'
  configure "#{base_url}/dpsws/#{section}/#{service}?wsdl", opts
end

Instance Method Details

#get_heart_bitObject



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