Sha256: 8e9c5da27c472da5a23cb4daa6c2a0a65ea356db98ea58f96806af10dd8b3597

Contents?: true

Size: 481 Bytes

Versions: 2

Compression:

Stored size: 481 Bytes

Contents

module AuthLh
  class UserExtended
    attr_accessor :email, :jabber, :name, :login, :password_digest,
      :password_expired, :enabled, :shop_code, :allow_remote_access,
      :session_timeout, :only_working_time, :dni, :allow_multiple_sessions,
      :working_time, :has_attendance_control, :has_remote_desktop,
      :fingerprint_from, :fingerprint_to

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
auth-lh-0.11.1 lib/auth_lh/user_extended.rb
auth-lh-0.11.0 lib/auth_lh/user_extended.rb