Class: Group
- Inherits:
-
Object
- Object
- Group
- Includes:
- ActiveModel::Serializers::JSON
- Defined in:
- lib/chino_ruby.rb
Overview
——————————GROUPS———————————–#
Instance Attribute Summary collapse
-
#group_attributes ⇒ Object
Returns the value of attribute group_attributes.
-
#group_id ⇒ Object
Returns the value of attribute group_id.
-
#group_name ⇒ Object
Returns the value of attribute group_name.
-
#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.
Instance Method Summary collapse
Instance Attribute Details
#group_attributes ⇒ Object
Returns the value of attribute group_attributes.
776 777 778 |
# File 'lib/chino_ruby.rb', line 776 def group_attributes @group_attributes end |
#group_id ⇒ Object
Returns the value of attribute group_id.
776 777 778 |
# File 'lib/chino_ruby.rb', line 776 def group_id @group_id end |
#group_name ⇒ Object
Returns the value of attribute group_name.
776 777 778 |
# File 'lib/chino_ruby.rb', line 776 def group_name @group_name end |
#insert_date ⇒ Object
Returns the value of attribute insert_date.
776 777 778 |
# File 'lib/chino_ruby.rb', line 776 def insert_date @insert_date end |
#is_active ⇒ Object
Returns the value of attribute is_active.
776 777 778 |
# File 'lib/chino_ruby.rb', line 776 def is_active @is_active end |
#last_update ⇒ Object
Returns the value of attribute last_update.
776 777 778 |
# File 'lib/chino_ruby.rb', line 776 def last_update @last_update end |
Instance Method Details
#attributes ⇒ Object
788 789 790 |
# File 'lib/chino_ruby.rb', line 788 def attributes instance_values end |
#attributes=(hash) ⇒ Object
778 779 780 781 782 783 784 785 786 |
# File 'lib/chino_ruby.rb', line 778 def attributes=(hash) hash.each do |key, value| if key=="attributes" @group_attributes = value else send("#{key}=", value) end end end |