Class: UserSchema
- Inherits:
-
Object
- Object
- UserSchema
- Includes:
- ActiveModel::Serializers::JSON
- Defined in:
- lib/chino_ruby.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.
577 578 579 |
# File 'lib/chino_ruby.rb', line 577 def description @description end |
#groups ⇒ Object
Returns the value of attribute groups.
577 578 579 |
# File 'lib/chino_ruby.rb', line 577 def groups @groups end |
#insert_date ⇒ Object
Returns the value of attribute insert_date.
577 578 579 |
# File 'lib/chino_ruby.rb', line 577 def insert_date @insert_date end |
#is_active ⇒ Object
Returns the value of attribute is_active.
577 578 579 |
# File 'lib/chino_ruby.rb', line 577 def is_active @is_active end |
#last_update ⇒ Object
Returns the value of attribute last_update.
577 578 579 |
# File 'lib/chino_ruby.rb', line 577 def last_update @last_update end |
#structure ⇒ Object
Returns the value of attribute structure.
577 578 579 |
# File 'lib/chino_ruby.rb', line 577 def structure @structure end |
#user_schema_id ⇒ Object
Returns the value of attribute user_schema_id.
577 578 579 |
# File 'lib/chino_ruby.rb', line 577 def user_schema_id @user_schema_id end |
Instance Method Details
#attributes ⇒ Object
585 586 587 |
# File 'lib/chino_ruby.rb', line 585 def attributes instance_values end |
#attributes=(hash) ⇒ Object
579 580 581 582 583 |
# File 'lib/chino_ruby.rb', line 579 def attributes=(hash) hash.each do |key, value| send("#{key}=", value) end end |
#getFields ⇒ Object
589 590 591 |
# File 'lib/chino_ruby.rb', line 589 def getFields() structure['fields'] end |