Class: Matestack::Ui::Bootstrap::Content::SmartCollection::Collection

Inherits:
Component
  • Object
show all
Includes:
Content, Filter, Paginate, Core::Collection::Helper
Defined in:
app/concepts/matestack/ui/bootstrap/content/smart_collection/collection.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#processed_filters=(value) ⇒ Object

Sets the attribute processed_filters

Parameters:

  • value

    the value to set the attribute processed_filters to.



29
30
31
# File 'app/concepts/matestack/ui/bootstrap/content/smart_collection/collection.rb', line 29

def processed_filters=(value)
  @processed_filters = value
end

Instance Method Details

#responseObject



31
32
33
34
35
36
# File 'app/concepts/matestack/ui/bootstrap/content/smart_collection/collection.rb', line 31

def response
  div id: bs_id, class: "smart-collection" do
    filter_partial
    content
  end
end