module Workarea::SegmentAnalytics
Constants
- VERSION
Public Class Methods
configure_secrets()
click to toggle source
# File lib/workarea/segment_analytics.rb, line 13 def self.configure_secrets if Rails.application.secrets.segment_analytics.present? secrets = Rails.application.secrets.segment_analytics.deep_symbolize_keys self.write_key = secrets[:write_key] else self.write_key = '' end end