Class: ChinoRuby::Collection
- Inherits:
-
Object
- Object
- ChinoRuby::Collection
- Includes:
- ActiveModel::Serializers::JSON
- Defined in:
- lib/chino_ruby/classes.rb
Overview
——————————COLLECTIONS———————————–#
Instance Attribute Summary collapse
-
#collection_id ⇒ Object
Returns the value of attribute collection_id.
-
#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.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#collection_id ⇒ Object
Returns the value of attribute collection_id.
1033 1034 1035 |
# File 'lib/chino_ruby/classes.rb', line 1033 def collection_id @collection_id end |
#insert_date ⇒ Object
Returns the value of attribute insert_date.
1033 1034 1035 |
# File 'lib/chino_ruby/classes.rb', line 1033 def insert_date @insert_date end |
#is_active ⇒ Object
Returns the value of attribute is_active.
1033 1034 1035 |
# File 'lib/chino_ruby/classes.rb', line 1033 def is_active @is_active end |
#last_update ⇒ Object
Returns the value of attribute last_update.
1033 1034 1035 |
# File 'lib/chino_ruby/classes.rb', line 1033 def last_update @last_update end |
#name ⇒ Object
Returns the value of attribute name.
1033 1034 1035 |
# File 'lib/chino_ruby/classes.rb', line 1033 def name @name end |
Instance Method Details
#attributes ⇒ Object
1041 1042 1043 |
# File 'lib/chino_ruby/classes.rb', line 1041 def attributes instance_values end |
#attributes=(hash) ⇒ Object
1035 1036 1037 1038 1039 |
# File 'lib/chino_ruby/classes.rb', line 1035 def attributes=(hash) hash.each do |key, value| send("#{key}=", value) end end |