Module: OData::Model::ActiveModel::ClassMethods
- Defined in:
- lib/odata/model/active_model.rb
Overview
Methods mixed in at the class level.
Instance Method Summary collapse
-
#human_attribute_name(attr, options = {}) ⇒ Object
private
Used for ActiveModel validations.
-
#lookup_ancestors ⇒ Object
private
Used for ActiveModel validations.
Instance Method Details
#human_attribute_name(attr, options = {}) ⇒ 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
36 37 38 |
# File 'lib/odata/model/active_model.rb', line 36 def human_attribute_name(attr, = {}) attr end |
#lookup_ancestors ⇒ 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
42 43 44 |
# File 'lib/odata/model/active_model.rb', line 42 def lookup_ancestors [self] end |