Class: User
- Inherits:
-
Object
- Object
- User
- Includes:
- ActiveModel::Serializers::JSON
- Defined in:
- lib/chino_ruby.rb
Overview
——————————USERS———————————–#
Instance Attribute Summary collapse
-
#groups ⇒ Object
Returns the value of attribute groups.
-
#insert_date ⇒ Object
Returns the value of attribute insert_date.
-
#is_active ⇒ Object
Returns the value of attribute is_active.
-
#last_update ⇒ Object
Returns the value of attribute last_update.
-
#schema_id ⇒ Object
Returns the value of attribute schema_id.
-
#user_attributes ⇒ Object
Returns the value of attribute user_attributes.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
Instance Attribute Details
#groups ⇒ Object
Returns the value of attribute groups.
667 668 669 |
# File 'lib/chino_ruby.rb', line 667 def groups @groups end |
#insert_date ⇒ Object
Returns the value of attribute insert_date.
667 668 669 |
# File 'lib/chino_ruby.rb', line 667 def insert_date @insert_date end |
#is_active ⇒ Object
Returns the value of attribute is_active.
667 668 669 |
# File 'lib/chino_ruby.rb', line 667 def is_active @is_active end |
#last_update ⇒ Object
Returns the value of attribute last_update.
667 668 669 |
# File 'lib/chino_ruby.rb', line 667 def last_update @last_update end |
#schema_id ⇒ Object
Returns the value of attribute schema_id.
667 668 669 |
# File 'lib/chino_ruby.rb', line 667 def schema_id @schema_id end |
#user_attributes ⇒ Object
Returns the value of attribute user_attributes.
667 668 669 |
# File 'lib/chino_ruby.rb', line 667 def user_attributes @user_attributes end |
#user_id ⇒ Object
Returns the value of attribute user_id.
667 668 669 |
# File 'lib/chino_ruby.rb', line 667 def user_id @user_id end |
#username ⇒ Object
Returns the value of attribute username.
667 668 669 |
# File 'lib/chino_ruby.rb', line 667 def username @username end |
Instance Method Details
#attributes ⇒ Object
679 680 681 |
# File 'lib/chino_ruby.rb', line 679 def attributes instance_values end |
#attributes=(hash) ⇒ Object
669 670 671 672 673 674 675 676 677 |
# File 'lib/chino_ruby.rb', line 669 def attributes=(hash) hash.each do |key, value| if key=="attributes" @user_attributes = value else send("#{key}=", value) end end end |