Class: Schema
- Inherits:
-
Object
- Object
- Schema
- Includes:
- ActiveModel::Serializers::JSON
- Defined in:
- lib/chino_ruby.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.
890 891 892 |
# File 'lib/chino_ruby.rb', line 890 def description @description end |
#insert_date ⇒ Object
Returns the value of attribute insert_date.
890 891 892 |
# File 'lib/chino_ruby.rb', line 890 def insert_date @insert_date end |
#is_active ⇒ Object
Returns the value of attribute is_active.
890 891 892 |
# File 'lib/chino_ruby.rb', line 890 def is_active @is_active end |
#last_update ⇒ Object
Returns the value of attribute last_update.
890 891 892 |
# File 'lib/chino_ruby.rb', line 890 def last_update @last_update end |
#repository_id ⇒ Object
Returns the value of attribute repository_id.
890 891 892 |
# File 'lib/chino_ruby.rb', line 890 def repository_id @repository_id end |
#schema_id ⇒ Object
Returns the value of attribute schema_id.
890 891 892 |
# File 'lib/chino_ruby.rb', line 890 def schema_id @schema_id end |
#structure ⇒ Object
Returns the value of attribute structure.
890 891 892 |
# File 'lib/chino_ruby.rb', line 890 def structure @structure end |
Instance Method Details
#attributes ⇒ Object
898 899 900 |
# File 'lib/chino_ruby.rb', line 898 def attributes instance_values end |
#attributes=(hash) ⇒ Object
892 893 894 895 896 |
# File 'lib/chino_ruby.rb', line 892 def attributes=(hash) hash.each do |key, value| send("#{key}=", value) end end |
#getFields ⇒ Object
902 903 904 |
# File 'lib/chino_ruby.rb', line 902 def getFields() structure['fields'] end |