class GroSocial::User

Attributes

alertmessage[RW]
created[RW]
custom1[RW]
custom2[RW]
custom3[RW]
email[RW]
firstname[RW]
id[RW]
lastname[RW]
password[RW]
phone[RW]

Public Class Methods

new(attributes = {}) click to toggle source
# File lib/gro_social/user.rb, line 6
def initialize(attributes = {})
  attributes.each do |attr_name, value|
    begin
      self.send(:"#{attr_name}=", value)
    rescue NoMethodError
      next
    end
  end
end