Class: Collection
- Inherits:
-
Object
- Object
- Collection
- Includes:
- ActiveModel::Serializers::JSON
- Defined in:
- lib/chino_ruby.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.
1089 1090 1091 |
# File 'lib/chino_ruby.rb', line 1089 def collection_id @collection_id end |
#insert_date ⇒ Object
Returns the value of attribute insert_date.
1089 1090 1091 |
# File 'lib/chino_ruby.rb', line 1089 def insert_date @insert_date end |
#is_active ⇒ Object
Returns the value of attribute is_active.
1089 1090 1091 |
# File 'lib/chino_ruby.rb', line 1089 def is_active @is_active end |
#last_update ⇒ Object
Returns the value of attribute last_update.
1089 1090 1091 |
# File 'lib/chino_ruby.rb', line 1089 def last_update @last_update end |
#name ⇒ Object
Returns the value of attribute name.
1089 1090 1091 |
# File 'lib/chino_ruby.rb', line 1089 def name @name end |
Instance Method Details
#attributes ⇒ Object
1097 1098 1099 |
# File 'lib/chino_ruby.rb', line 1097 def attributes instance_values end |
#attributes=(hash) ⇒ Object
1091 1092 1093 1094 1095 |
# File 'lib/chino_ruby.rb', line 1091 def attributes=(hash) hash.each do |key, value| send("#{key}=", value) end end |