Class: Photo
- Inherits:
-
Object
- Object
- Photo
- Includes:
- Ish::Utils, Mongoid::Document, Mongoid::Paperclip, Mongoid::Timestamps
- Defined in:
- lib/photo.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Ish::Utils
Class Method Details
.n_per_manager_gallery ⇒ Object
52 53 54 |
# File 'lib/photo.rb', line 52 def self.n_per_manager_gallery 25 end |
Instance Method Details
#export_fields ⇒ Object
56 57 58 59 60 61 62 63 |
# File 'lib/photo.rb', line 56 def export_fields %w| gallery_id name descr weight is_public is_trash photo_file_name photo_content_type photo_file_size photo_updated_at photo_fingerprint | end |
#user ⇒ Object
13 14 15 |
# File 'lib/photo.rb', line 13 def user user_profile end |