Sha256: 6c70f564f2ed5865cabdac3fa5b029c368877db6bbbcc62fbf4f760faf4d0080

Contents?: true

Size: 340 Bytes

Versions: 3

Compression:

Stored size: 340 Bytes

Contents

module AuthLh
  class User
    attr_accessor :code, :email, :jabber, :name, :login, :password_digest,
      :password_expired, :enabled, :is_admin, :shop_code, :allow_remote_access,
      :last_activity, :app_codes

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
auth-lh-0.1.0 lib/auth_lh/user.rb
auth-lh-0.0.12 lib/auth_lh/user.rb
auth-lh-0.0.11 lib/auth_lh/user.rb