Class: Locomotive::Steam::Liquid::Drops::Site
Instance Method Summary
collapse
Methods included from Scopeable
#_apply_scope_order, #apply_scope
Methods inherited from Base
#id, #initialize, liquify
#mounting_point, #site
Instance Method Details
#domains ⇒ Object
18
19
20
|
# File 'lib/locomotive/steam/liquid/drops/site.rb', line 18
def domains
@_source.domains
end
|
#index ⇒ Object
10
11
12
|
# File 'lib/locomotive/steam/liquid/drops/site.rb', line 10
def index
@index ||= self.mounting_point.pages['index']
end
|
#pages ⇒ Object
14
15
16
|
# File 'lib/locomotive/steam/liquid/drops/site.rb', line 14
def pages
liquify(*apply_scope(self.mounting_point.pages.values))
end
|