Sha256: 0ddacb79c7f6b787c67bc0d64cd7cf6860580dc828afbfc961343cccc6e7f3cf

Contents?: true

Size: 606 Bytes

Versions: 4

Compression:

Stored size: 606 Bytes

Contents

# encoding: utf-8
require 'virtus'

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

module Libis
  module Services
    module Rosetta

      class UserManager < Libis::Services::Rosetta::Client

        def initialize(base_url = 'https://repository.teneo.libis.be', options = {})
          super 'infra', 'UserManagerWS', {url: base_url}.merge(options)
        end

        def user(user_id, user_info)
          user_info = user_info.to_hash if user_info.is_a? User
          do_request :update_user, arg0: user_info, arg1: user_id
        end

        protected

      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
libis-services-1.1.0 lib/libis/services/rosetta/user_manager.rb
libis-services-1.0.13 lib/libis/services/rosetta/user_manager.rb
libis-services-1.0.12 lib/libis/services/rosetta/user_manager.rb
libis-services-1.0.11 lib/libis/services/rosetta/user_manager.rb