Class: Pageflow::PotentialEntryTranslations Private

Inherits:
Object
  • Object
show all
Defined in:
app/models/pageflow/potential_entry_translations.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(entry) ⇒ PotentialEntryTranslations

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of PotentialEntryTranslations.



4
5
6
# File 'app/models/pageflow/potential_entry_translations.rb', line 4

def initialize(entry)
  @entry = entry
end

Class Method Details

.for(entry) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



8
9
10
# File 'app/models/pageflow/potential_entry_translations.rb', line 8

def self.for(entry)
  new(entry)
end

Instance Method Details

#resolveObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



12
13
14
15
16
17
18
19
20
# File 'app/models/pageflow/potential_entry_translations.rb', line 12

def resolve
  preload(
    group_by_translation_group(
      exclude_translations(
        
      )
    )
  )
end