Class: Dugway::Drops::PageDrop
- Inherits:
-
BaseDrop
- Object
- Liquid::Drop
- BaseDrop
- Dugway::Drops::PageDrop
show all
- Defined in:
- lib/dugway/liquid/drops/page_drop.rb
Instance Attribute Summary
Attributes inherited from BaseDrop
#params, #request, #source
Instance Method Summary
collapse
Methods inherited from BaseDrop
#before_method, #cart, #context=, #error, #errors, #initialize, #method_missing, #store, #theme
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class Dugway::Drops::BaseDrop
Instance Method Details
#full_path ⇒ Object
16
17
18
|
# File 'lib/dugway/liquid/drops/page_drop.rb', line 16
def full_path
@request.path
end
|
#full_url ⇒ Object
12
13
14
|
# File 'lib/dugway/liquid/drops/page_drop.rb', line 12
def full_url
@request.url
end
|
4
5
6
|
# File 'lib/dugway/liquid/drops/page_drop.rb', line 4
def meta_description
'Example meta description'
end
|
8
9
10
|
# File 'lib/dugway/liquid/drops/page_drop.rb', line 8
def meta_keywords
'example, key, words'
end
|