Class: Ecm::Galleries::PictureGallery

Inherits:
ApplicationRecord show all
Includes:
ActsAsPublished::ActiveRecord, DisplayCodesConcern, PictureDetails
Defined in:
app/models/ecm/galleries/picture_gallery.rb

Defined Under Namespace

Modules: DisplayCodesConcern, PictureDetails

Instance Method Summary collapse

Methods included from DisplayCodesConcern

#display_code_for_erb

Methods included from PictureDetails

#append_assets, #append_assets=, #overwrite_assets, #overwrite_assets=, #picture_details_count

Instance Method Details

#assets_countObject



68
69
70
# File 'app/models/ecm/galleries/picture_gallery.rb', line 68

def assets_count
  assets.count
end

#humanObject



64
65
66
# File 'app/models/ecm/galleries/picture_gallery.rb', line 64

def human
  name
end