Class: Qbrick::SliderBrick
- Inherits:
-
Brick
- Object
- ActiveRecord::Base
- Brick
- Qbrick::SliderBrick
show all
- Includes:
- BrickList
- Defined in:
- app/models/qbrick/slider_brick.rb
Instance Method Summary
collapse
Methods included from BrickList
#brick_types, #collect_fulltext, included, #renders_own_childs?, #to_brick_item_id, #to_brick_list_id, #uploader?, #user_can_add_childs?, #user_can_delete?, #user_can_save?
Methods inherited from Brick
#available_display_styles, #backend_label, #brick_list_type, #cache_key, #has_siblings?, #parents, #partial_digest, #set_position, #to_edit_childs_partial_path, #to_edit_partial_path, #to_style_id, #translated_available_display_styles, #update_fulltext
Instance Method Details
#allowed_brick_types ⇒ Object
14
15
16
|
# File 'app/models/qbrick/slider_brick.rb', line 14
def allowed_brick_types
%w(Qbrick::ImageBrick Qbrick::VideoBrick)
end
|
#fulltext ⇒ Object
7
8
|
# File 'app/models/qbrick/slider_brick.rb', line 7
def fulltext
end
|
#to_style_class ⇒ Object
10
11
12
|
# File 'app/models/qbrick/slider_brick.rb', line 10
def to_style_class
[super, 'carousel', 'slide'].join(' ')
end
|