Sha256: 8414ce8e49dc92b68e08af57fcaab6bf755e361db4fc077953bf34734bb23289

Contents?: true

Size: 483 Bytes

Versions: 4

Compression:

Stored size: 483 Bytes

Contents

module AuthLh
  class UserExtended
    attr_accessor :code, :email, :jabber, :name, :login, :password_digest,
      :password_expired, :enabled, :shop_code, :allow_remote_access,
      :session_timeout, :access_level, :only_working_time, :birthdate,
      :allow_multiple_sessions, :working_time, :dni, :app_codes, :role_codes,
      :has_attendance_control

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
auth-lh-0.9.0 lib/auth_lh/user_extended.rb
auth-lh-0.8.2 lib/auth_lh/user_extended.rb
auth-lh-0.8.1 lib/auth_lh/user_extended.rb
auth-lh-0.8.0 lib/auth_lh/user_extended.rb