Sha256: 0bf3d10e16c9e574df22b5844ef2369588af75180682871c249c846c81a07606

Contents?: true

Size: 497 Bytes

Versions: 4

Compression:

Stored size: 497 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, :seller_code

    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.10.3 lib/auth_lh/user_extended.rb
auth-lh-0.10.2 lib/auth_lh/user_extended.rb
auth-lh-0.10.1 lib/auth_lh/user_extended.rb
auth-lh-0.10.0 lib/auth_lh/user_extended.rb