Sha256: 31fd8e7323756904588c2cf67943e574e5a35ad686e75ad441a769f722e1b46d

Contents?: true

Size: 274 Bytes

Versions: 3

Compression:

Stored size: 274 Bytes

Contents

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

    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.0.10 lib/auth_lh/user.rb
auth-lh-0.0.9 lib/auth_lh/user.rb
auth-lh-0.0.8 lib/auth_lh/user.rb