Sha256: 3cb984830c39da26dd8f029d137b991e44ab7614861984fa72beaac57ec4157b

Contents?: true

Size: 593 Bytes

Versions: 27

Compression:

Stored size: 593 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 = 'http://depot.lias.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

27 entries across 27 versions & 1 rubygems

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