Sha256: 10c803413de0ec5f6ba0428cd4664085f620dd40bf32cf58c2f436c1db05abbe

Contents?: true

Size: 308 Bytes

Versions: 4

Compression:

Stored size: 308 Bytes

Contents

module Auth
  module Lh
    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
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
auth-lh-0.0.7 lib/auth/lh/user.rb
auth-lh-0.0.6 lib/auth/lh/user.rb
auth-lh-0.0.5 lib/auth/lh/user.rb
auth-lh-0.0.4 lib/auth/lh/user.rb