Sha256: c281356c983ac71933398e3ee9b589aa96b4ce76ee25374f0ef7fc6e5be8743d

Contents?: true

Size: 517 Bytes

Versions: 3

Compression:

Stored size: 517 Bytes

Contents

module AuthLh
  class UserExtended
    attr_accessor :email, :jabber, :first_name, :last_name, :login,
      :password_digest, :password_expired, :enabled, :shop_code,
      :allow_remote_access, :session_timeout, :only_working_time,
      :allow_multiple_sessions, :working_time, :has_remote_desktop,
      :fingerprint_from, :fingerprint_to, :attendance_mode,
      :role_codes, :app_codes

    def initialize(attributes={})
      attributes.each do |k,v|
        self.send("#{k}=", v)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
auth-lh-0.16.0 lib/auth_lh/user_extended.rb
auth-lh-0.15.0 lib/auth_lh/user_extended.rb
auth-lh-0.14.2 lib/auth_lh/user_extended.rb