module OData::AbstractSchema::Serializable::SchemaInstanceMethods

Public Instance Methods

atom_summary_for(one) click to toggle source
# 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) click to toggle source
# 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) click to toggle source
# 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