Class: SO2DB::Models::Post

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/so2db/models.rb

Class Method Summary collapse

Class Method Details

.exported_fieldsObject



40
41
42
43
44
45
46
47
# File 'lib/so2db/models.rb', line 40

def self.exported_fields
  return [ :id, :post_type_id, :parent_id, :accepted_answer_id, 
           :creation_date, :score, :view_count, :body, :owner_user_id, 
           :last_editor_user_id, :last_editor_display_name, :last_edit_date,
           :last_activity_date, :community_owned_date, :closed_date, :title,
           :tags, :answer_count, :comment_count, :favorite_count, 
           :owner_display_name ]
end