Class: ChinoRuby::Group
- Inherits:
-
Object
- Object
- ChinoRuby::Group
- Includes:
- ActiveModel::Serializers::JSON
- Defined in:
- lib/chino_ruby/classes.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.
720 721 722 |
# File 'lib/chino_ruby/classes.rb', line 720 def group_attributes @group_attributes end |
#group_id ⇒ Object
Returns the value of attribute group_id.
720 721 722 |
# File 'lib/chino_ruby/classes.rb', line 720 def group_id @group_id end |
#group_name ⇒ Object
Returns the value of attribute group_name.
720 721 722 |
# File 'lib/chino_ruby/classes.rb', line 720 def group_name @group_name end |
#insert_date ⇒ Object
Returns the value of attribute insert_date.
720 721 722 |
# File 'lib/chino_ruby/classes.rb', line 720 def insert_date @insert_date end |
#is_active ⇒ Object
Returns the value of attribute is_active.
720 721 722 |
# File 'lib/chino_ruby/classes.rb', line 720 def is_active @is_active end |
#last_update ⇒ Object
Returns the value of attribute last_update.
720 721 722 |
# File 'lib/chino_ruby/classes.rb', line 720 def last_update @last_update end |
Instance Method Details
#attributes ⇒ Object
732 733 734 |
# File 'lib/chino_ruby/classes.rb', line 732 def attributes instance_values end |
#attributes=(hash) ⇒ Object
722 723 724 725 726 727 728 729 730 |
# File 'lib/chino_ruby/classes.rb', line 722 def attributes=(hash) hash.each do |key, value| if key=="attributes" @group_attributes = value else send("#{key}=", value) end end end |