Class: ChinoRuby::Schema
- Inherits:
-
Object
- Object
- ChinoRuby::Schema
- Includes:
- ActiveModel::Serializers::JSON
- Defined in:
- lib/chino_ruby/classes.rb
Overview
——————————SCHEMAS———————————–#
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.
-
#schema_id ⇒ Object
Returns the value of attribute schema_id.
-
#structure ⇒ Object
Returns the value of attribute structure.
Instance Method Summary collapse
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
834 835 836 |
# File 'lib/chino_ruby/classes.rb', line 834 def description @description end |
#insert_date ⇒ Object
Returns the value of attribute insert_date.
834 835 836 |
# File 'lib/chino_ruby/classes.rb', line 834 def insert_date @insert_date end |
#is_active ⇒ Object
Returns the value of attribute is_active.
834 835 836 |
# File 'lib/chino_ruby/classes.rb', line 834 def is_active @is_active end |
#last_update ⇒ Object
Returns the value of attribute last_update.
834 835 836 |
# File 'lib/chino_ruby/classes.rb', line 834 def last_update @last_update end |
#repository_id ⇒ Object
Returns the value of attribute repository_id.
834 835 836 |
# File 'lib/chino_ruby/classes.rb', line 834 def repository_id @repository_id end |
#schema_id ⇒ Object
Returns the value of attribute schema_id.
834 835 836 |
# File 'lib/chino_ruby/classes.rb', line 834 def schema_id @schema_id end |
#structure ⇒ Object
Returns the value of attribute structure.
834 835 836 |
# File 'lib/chino_ruby/classes.rb', line 834 def structure @structure end |
Instance Method Details
#attributes ⇒ Object
842 843 844 |
# File 'lib/chino_ruby/classes.rb', line 842 def attributes instance_values end |
#attributes=(hash) ⇒ Object
836 837 838 839 840 |
# File 'lib/chino_ruby/classes.rb', line 836 def attributes=(hash) hash.each do |key, value| send("#{key}=", value) end end |
#getFields ⇒ Object
846 847 848 |
# File 'lib/chino_ruby/classes.rb', line 846 def getFields() structure['fields'] end |