Method: OData::Model::ActiveModel#read_attribute_for_validation
- Defined in:
- lib/odata/model/active_model.rb
#read_attribute_for_validation(attr) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Used for ActiveModel validations
28 29 30 |
# File 'lib/odata/model/active_model.rb', line 28 def read_attribute_for_validation(attr) send(attr) end |