Class: KirguduRefs::It::Encoding

Inherits:
BaseModel
  • Object
show all
Includes:
KirguduBase::Models::BasicProperties::CreatedBy, KirguduBase::Models::BasicProperties::Portal, KirguduBase::Models::BasicProperties::UpdatedBy
Defined in:
app/models/kirgudu_refs/it/encoding.rb

Class Method Summary collapse

Class Method Details

.apply_filters_to_query(query, filters = {}) ⇒ Object



35
36
37
38
39
40
41
42
# File 'app/models/kirgudu_refs/it/encoding.rb', line 35

def self.apply_filters_to_query(query, filters = {})
  filters ||= {}

  query = query
  .with_encoding(filters[:encoding])

  super(query, filters)
end