Class: AhoyCaptain::Stats::TotalPageviewsQuery

Inherits:
BaseQuery show all
Defined in:
app/queries/ahoy_captain/stats/total_pageviews_query.rb

Instance Attribute Summary

Attributes inherited from ApplicationQuery

#params

Instance Method Summary collapse

Methods included from LazyComparableQuery

#with_lazy_comparison

Methods included from ComparableQuery

#with_comparison

Methods inherited from ApplicationQuery

call, inherited, #initialize, #inspect

Constructor Details

This class inherits a constructor from AhoyCaptain::ApplicationQuery

Instance Method Details

#buildObject



4
5
6
# File 'app/queries/ahoy_captain/stats/total_pageviews_query.rb', line 4

def build
  event_query.page_view
end