Sha256: 774f5335e54a275405feafca34858afd0098da57729d652ca5df601f4ebe555d

Contents?: true

Size: 363 Bytes

Versions: 8

Compression:

Stored size: 363 Bytes

Contents

module AuthLh
  class UserExtended
    attr_accessor :code, :email, :jabber, :name, :login, :password_digest,
      :password_expired, :enabled, :is_admin, :shop_code, :allow_remote_access,
      :session_timeout, :app_codes, :role_codes

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
auth-lh-0.3.1 lib/auth_lh/user_extended.rb
auth-lh-0.3.0 lib/auth_lh/user_extended.rb
auth-lh-0.2.4 lib/auth_lh/user_extended.rb
auth-lh-0.2.3 lib/auth_lh/user_extended.rb
auth-lh-0.2.2 lib/auth_lh/user_extended.rb
auth-lh-0.2.1 lib/auth_lh/user_extended.rb
auth-lh-0.2.0 lib/auth_lh/user_extended.rb
auth-lh-0.1.1 lib/auth_lh/user_extended.rb