Module: OData::AbstractSchema::Serializable::SchemaInstanceMethods
- Defined in:
- lib/o_data/abstract_schema/serializable.rb
Instance Method Summary collapse
Instance Method Details
#atom_summary_for(one) ⇒ Object
16 17 18 19 20 21 |
# File 'lib/o_data/abstract_schema/serializable.rb', line 16 def atom_summary_for(one) entity_type = find_entity_type(:active_record => one.class) return nil if entity_type.blank? entity_type.atom_summary_for(one) end |
#atom_title_for(one) ⇒ Object
9 10 11 12 13 14 |
# File 'lib/o_data/abstract_schema/serializable.rb', line 9 def atom_title_for(one) entity_type = find_entity_type(:active_record => one.class) return nil if entity_type.blank? entity_type.atom_title_for(one) end |
#atom_updated_at_for(one) ⇒ Object
23 24 25 26 27 28 |
# File 'lib/o_data/abstract_schema/serializable.rb', line 23 def atom_updated_at_for(one) entity_type = find_entity_type(:active_record => one.class) return nil if entity_type.blank? entity_type.atom_updated_at_for(one) end |