Class: Keener::Query

Inherits:
Object
  • Object
show all
Defined in:
lib/keener/query.rb

Direct Known Subclasses

Funnel, Metric, Step

Instance Method Summary collapse

Constructor Details

#initialize(project_id, event_collection, options = {}) {|_self| ... } ⇒ Query

Returns a new instance of Query.

Yields:

  • (_self)

Yield Parameters:

  • _self (Keener::Query)

    the object that the method was called on



3
4
5
6
7
8
# File 'lib/keener/query.rb', line 3

def initialize(project_id, event_collection, options = {})
  @project_id = project_id
  @event_collection = event_collection
  @options = options
  yield self if block_given?
end