Class: User
- Inherits:
-
Volt::Model
- Object
- Volt::Model
- User
- Defined in:
- app/volt/models/user.rb
Instance Attribute Summary
Attributes inherited from Volt::Model
#attributes, #options, #parent, #path, #persistor
Instance Method Summary collapse
Methods inherited from Volt::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!
Methods included from Volt::ModelState
#change_state_to, #loaded?, #state
Methods included from Volt::Validations
#errors, included, #mark_field!, #marked_errors, #marked_fields
Methods included from Volt::ModelHashBehaviour
#clear, #delete, #each_with_object, #empty?, #false?, #nil?, #to_h, #true?
Methods included from Volt::ModelHelpers
#class_at_path, #deep_unwrap, #event_added, #event_removed
Methods included from Volt::ModelWrapper
Constructor Details
This class inherits a constructor from Volt::Model
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Volt::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 |