Class: User
Instance Attribute Summary
Attributes inherited from Model
#attributes, #options, #parent, #path, #persistor
Instance Method Summary collapse
Methods inherited from Model
#!, #<<, #==, #_id, #_id=, #assign_attribute, #buffer, #expand!, #initialize, #inspect, #method_missing, #new_array_model, #new_model, #read_attribute, #read_new_model, #return_undefined_method, #save!, #trigger_by_attribute!
Methods included from ModelState
#change_state_to, #loaded?, #state
Methods included from Validations
#errors, included, #mark_field!, #marked_errors, #marked_fields
Methods included from ModelHashBehaviour
#clear, #delete, #each_with_object, #empty?, #false?, #nil?, #to_h, #true?
Methods included from ModelHelpers
#class_at_path, #deep_unwrap, #event_added, #event_removed
Methods included from ModelWrapper
Constructor Details
This class inherits a constructor from Model
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Model
Instance Method Details
#password=(val) ⇒ Object
2 3 4 |
# File 'app/volt/models/user.rb', line 2 def password=(val) self._password = '--encoded: ' + val end |