class Callcounter::Configuration
configuration class for callcounter middleware
Attributes
async[RW]
debug[RW]
project_token[RW]
track[RW]
Public Class Methods
new()
click to toggle source
# File lib/callcounter/configuration.rb, line 8 def initialize @debug = false @project_token = nil @track = lambda { |request| return request.hostname.start_with?('api') || request.path.start_with?('/api') } @async = true end