Sha256: b99b971dc4d0fb6884278bd5eb763abc2a4820df3aa428657cc1ad9260249792

Contents?: true

Size: 437 Bytes

Versions: 7

Compression:

Stored size: 437 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, :dni, :app_codes, :role_codes

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
auth-lh-0.6.1 lib/auth_lh/user_extended.rb
auth-lh-0.6.0 lib/auth_lh/user_extended.rb
auth-lh-0.5.0 lib/auth_lh/user_extended.rb
auth-lh-0.4.2 lib/auth_lh/user_extended.rb
auth-lh-0.4.1 lib/auth_lh/user_extended.rb
auth-lh-0.4.0 lib/auth_lh/user_extended.rb
auth-lh-0.3.2 lib/auth_lh/user_extended.rb