Sha256: 377b3b46007caa59089901222965af82c1267c4c4bd22ac46761229ff1532dca

Contents?: true

Size: 674 Bytes

Versions: 26

Compression:

Stored size: 674 Bytes

Contents

# encoding: utf-8

require 'libis/tools/extend/hash'
require_relative 'client'
require_relative 'sip'
require_relative 'ie'

module Libis
  module Services
    module Rosetta

      class SipHandler < Libis::Services::Rosetta::Client

        def initialize(base_url = 'http://depot.lias.be', options = {})
          super 'repository', 'SipWebServices', {url: base_url}.merge(options)
        end

        def get_info(sip_id)
          request_object :get_sip_status_info, Rosetta::Sip, arg0: sip_id
        end

        def get_ies(sip_id)
          request_array(:get_sip_i_es, arg0: sip_id).map {|ie| Rosetta::Ie.new(pid: ie)}

        end

      end

    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
libis-services-1.0.10 lib/libis/services/rosetta/sip_handler.rb
libis-services-1.0.7 lib/libis/services/rosetta/sip_handler.rb
libis-services-1.0.6 lib/libis/services/rosetta/sip_handler.rb
libis-services-1.0.5 lib/libis/services/rosetta/sip_handler.rb
libis-services-1.0.2 lib/libis/services/rosetta/sip_handler.rb
libis-services-1.0.1 lib/libis/services/rosetta/sip_handler.rb
libis-services-1.0.0 lib/libis/services/rosetta/sip_handler.rb
libis-services-0.2.1 lib/libis/services/rosetta/sip_handler.rb
libis-services-0.2.0 lib/libis/services/rosetta/sip_handler.rb
libis-services-0.1.18 lib/libis/services/rosetta/sip_handler.rb
libis-services-0.1.17 lib/libis/services/rosetta/sip_handler.rb
libis-services-0.1.16 lib/libis/services/rosetta/sip_handler.rb
libis-services-0.1.15 lib/libis/services/rosetta/sip_handler.rb
libis-services-0.1.14 lib/libis/services/rosetta/sip_handler.rb
libis-services-0.1.13 lib/libis/services/rosetta/sip_handler.rb
libis-services-0.1.12 lib/libis/services/rosetta/sip_handler.rb
libis-services-0.1.11 lib/libis/services/rosetta/sip_handler.rb
libis-services-0.1.10 lib/libis/services/rosetta/sip_handler.rb
libis-services-0.1.9 lib/libis/services/rosetta/sip_handler.rb
libis-services-0.1.7 lib/libis/services/rosetta/sip_handler.rb