Class: ChinoRuby::Repository
- Inherits:
-
Object
- Object
- ChinoRuby::Repository
- Includes:
- ActiveModel::Serializers::JSON
- Defined in:
- lib/chino_ruby/classes.rb
Overview
——————————REPOSITORIES———————————–#
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#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.
-
#repository_id ⇒ Object
Returns the value of attribute repository_id.
Instance Method Summary collapse
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
420 421 422 |
# File 'lib/chino_ruby/classes.rb', line 420 def description @description end |
#insert_date ⇒ Object
Returns the value of attribute insert_date.
420 421 422 |
# File 'lib/chino_ruby/classes.rb', line 420 def insert_date @insert_date end |
#is_active ⇒ Object
Returns the value of attribute is_active.
420 421 422 |
# File 'lib/chino_ruby/classes.rb', line 420 def is_active @is_active end |
#last_update ⇒ Object
Returns the value of attribute last_update.
420 421 422 |
# File 'lib/chino_ruby/classes.rb', line 420 def last_update @last_update end |
#repository_id ⇒ Object
Returns the value of attribute repository_id.
420 421 422 |
# File 'lib/chino_ruby/classes.rb', line 420 def repository_id @repository_id end |
Instance Method Details
#attributes ⇒ Object
428 429 430 |
# File 'lib/chino_ruby/classes.rb', line 428 def attributes instance_values end |
#attributes=(hash) ⇒ Object
422 423 424 425 426 |
# File 'lib/chino_ruby/classes.rb', line 422 def attributes=(hash) hash.each do |key, value| send("#{key}=", value) end end |