Class: ChinoRuby::UserSchema
- Inherits:
-
Object
- Object
- ChinoRuby::UserSchema
- Includes:
- ActiveModel::Serializers::JSON
- Defined in:
- lib/chino_ruby/classes.rb
Overview
——————————USER SCHEMAS———————————–#
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#groups ⇒ Object
Returns the value of attribute groups.
-
#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.
-
#structure ⇒ Object
Returns the value of attribute structure.
-
#user_schema_id ⇒ Object
Returns the value of attribute user_schema_id.
Instance Method Summary collapse
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
508 509 510 |
# File 'lib/chino_ruby/classes.rb', line 508 def description @description end |
#groups ⇒ Object
Returns the value of attribute groups.
508 509 510 |
# File 'lib/chino_ruby/classes.rb', line 508 def groups @groups end |
#insert_date ⇒ Object
Returns the value of attribute insert_date.
508 509 510 |
# File 'lib/chino_ruby/classes.rb', line 508 def insert_date @insert_date end |
#is_active ⇒ Object
Returns the value of attribute is_active.
508 509 510 |
# File 'lib/chino_ruby/classes.rb', line 508 def is_active @is_active end |
#last_update ⇒ Object
Returns the value of attribute last_update.
508 509 510 |
# File 'lib/chino_ruby/classes.rb', line 508 def last_update @last_update end |
#structure ⇒ Object
Returns the value of attribute structure.
508 509 510 |
# File 'lib/chino_ruby/classes.rb', line 508 def structure @structure end |
#user_schema_id ⇒ Object
Returns the value of attribute user_schema_id.
508 509 510 |
# File 'lib/chino_ruby/classes.rb', line 508 def user_schema_id @user_schema_id end |
Instance Method Details
#attributes ⇒ Object
516 517 518 |
# File 'lib/chino_ruby/classes.rb', line 516 def attributes instance_values end |
#attributes=(hash) ⇒ Object
510 511 512 513 514 |
# File 'lib/chino_ruby/classes.rb', line 510 def attributes=(hash) hash.each do |key, value| send("#{key}=", value) end end |
#getFields ⇒ Object
520 521 522 |
# File 'lib/chino_ruby/classes.rb', line 520 def getFields() structure['fields'] end |