Class: Ahoy::Store
- Inherits:
-
Ahoy::Stores::KinesisFirehoseStore
show all
- Defined in:
- lib/generators/ahoy/stores/templates/log_initializer.rb,
lib/generators/ahoy/stores/templates/nsq_initializer.rb,
lib/generators/ahoy/stores/templates/nats_initializer.rb,
lib/generators/ahoy/stores/templates/bunny_initializer.rb,
lib/generators/ahoy/stores/templates/kafka_initializer.rb,
lib/generators/ahoy/stores/templates/custom_initializer.rb,
lib/generators/ahoy/stores/templates/fluentd_initializer.rb,
lib/generators/ahoy/stores/templates/mongoid_initializer.rb,
lib/generators/ahoy/stores/templates/active_record_initializer.rb,
lib/generators/ahoy/stores/templates/kinesis_firehose_initializer.rb
Instance Method Summary
collapse
#client, #log_event, #log_visit, #post
#authenticate, #exclude?, #generate_id, #initialize, #report_exception, #user, #visit
Instance Method Details
#credentials ⇒ Object
2
3
4
5
6
7
8
|
# File 'lib/generators/ahoy/stores/templates/kinesis_firehose_initializer.rb', line 2
def credentials
{
access_key_id: ENV["AWS_ACCESS_KEY_ID"],
secret_access_key: ENV["AWS_SECRET_ACCESS_KEY"],
region: "us-east-1"
}
end
|
#current_visit ⇒ Object
8
9
|
# File 'lib/generators/ahoy/stores/templates/custom_initializer.rb', line 8
def current_visit
end
|
#events_queue ⇒ Object
6
7
8
|
# File 'lib/generators/ahoy/stores/templates/bunny_initializer.rb', line 6
def events_queue
"ahoy_events"
end
|
#events_stream ⇒ Object
14
15
16
|
# File 'lib/generators/ahoy/stores/templates/kinesis_firehose_initializer.rb', line 14
def events_stream
"ahoy_events"
end
|
#events_subject ⇒ Object
6
7
8
|
# File 'lib/generators/ahoy/stores/templates/nats_initializer.rb', line 6
def events_subject
"ahoy_events"
end
|
#events_topic ⇒ Object
6
7
8
|
# File 'lib/generators/ahoy/stores/templates/nsq_initializer.rb', line 6
def events_topic
"ahoy_events"
end
|
#track_event(name, properties, options) ⇒ Object
5
6
|
# File 'lib/generators/ahoy/stores/templates/custom_initializer.rb', line 5
def track_event(name, properties, options)
end
|
#track_visit(options) ⇒ Object
2
3
|
# File 'lib/generators/ahoy/stores/templates/custom_initializer.rb', line 2
def track_visit(options)
end
|
#visits_queue ⇒ Object
2
3
4
|
# File 'lib/generators/ahoy/stores/templates/bunny_initializer.rb', line 2
def visits_queue
"ahoy_visits"
end
|
#visits_stream ⇒ Object
10
11
12
|
# File 'lib/generators/ahoy/stores/templates/kinesis_firehose_initializer.rb', line 10
def visits_stream
"ahoy_visits"
end
|
#visits_subject ⇒ Object
2
3
4
|
# File 'lib/generators/ahoy/stores/templates/nats_initializer.rb', line 2
def visits_subject
"ahoy_visits"
end
|
#visits_topic ⇒ Object
2
3
4
|
# File 'lib/generators/ahoy/stores/templates/nsq_initializer.rb', line 2
def visits_topic
"ahoy_visits"
end
|