Class: Repository
- Inherits:
-
Object
- Object
- Repository
- Includes:
- ActiveModel::Serializers::JSON
- Defined in:
- lib/chino_ruby.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.
489 490 491 |
# File 'lib/chino_ruby.rb', line 489 def description @description end |
#insert_date ⇒ Object
Returns the value of attribute insert_date.
489 490 491 |
# File 'lib/chino_ruby.rb', line 489 def insert_date @insert_date end |
#is_active ⇒ Object
Returns the value of attribute is_active.
489 490 491 |
# File 'lib/chino_ruby.rb', line 489 def is_active @is_active end |
#last_update ⇒ Object
Returns the value of attribute last_update.
489 490 491 |
# File 'lib/chino_ruby.rb', line 489 def last_update @last_update end |
#repository_id ⇒ Object
Returns the value of attribute repository_id.
489 490 491 |
# File 'lib/chino_ruby.rb', line 489 def repository_id @repository_id end |
Instance Method Details
#attributes ⇒ Object
497 498 499 |
# File 'lib/chino_ruby.rb', line 497 def attributes instance_values end |
#attributes=(hash) ⇒ Object
491 492 493 494 495 |
# File 'lib/chino_ruby.rb', line 491 def attributes=(hash) hash.each do |key, value| send("#{key}=", value) end end |