SYMBOL INDEX (168 symbols across 23 files) FILE: lib/intercom-rails.rb type IntercomRails (line 15) | module IntercomRails function config (line 17) | def self.config FILE: lib/intercom-rails/auto_include_filter.rb type IntercomRails (line 3) | module IntercomRails type AutoInclude (line 5) | module AutoInclude type Method (line 6) | module Method function intercom_rails_auto_include (line 7) | def intercom_rails_auto_include class Filter (line 12) | class Filter method filter (line 16) | def self.filter(controller) method initialize (line 31) | def initialize(kontroller) method include_javascript! (line 35) | def include_javascript! method include_javascript? (line 39) | def include_javascript? method csp_sha256 (line 47) | def csp_sha256 method response (line 52) | def response method html_content_type? (line 56) | def html_content_type? method response_has_closing_body_tag? (line 64) | def response_has_closing_body_tag? method intercom_script_tag_called_manually? (line 68) | def intercom_script_tag_called_manually? method intercom_script_tag (line 72) | def intercom_script_tag method show_everywhere? (line 88) | def show_everywhere? method enabled_for_environment? (line 92) | def enabled_for_environment? FILE: lib/intercom-rails/config.rb type IntercomRails (line 3) | module IntercomRails class ConfigSingleton (line 5) | class ConfigSingleton method config_accessor (line 7) | def self.config_accessor(*args, &block) method meta_class (line 12) | def self.meta_class method config_reader (line 16) | def self.config_reader(name) method config_writer (line 22) | def self.config_writer(name, &block) method config_group (line 29) | def self.config_group(name, &block) method validate (line 43) | def self.validate(name, value, block) method underscored_class_name (line 53) | def self.underscored_class_name class Config (line 59) | class Config < ConfigSingleton method reset! (line 93) | def self.reset! method api_key= (line 114) | def self.api_key=(*) method company_association= (line 125) | def self.company_association=(*) FILE: lib/intercom-rails/custom_data_helper.rb type IntercomRails (line 1) | module IntercomRails type CustomDataHelper (line 3) | module CustomDataHelper function intercom_custom_data (line 13) | def intercom_custom_data FILE: lib/intercom-rails/date_helper.rb type IntercomRails (line 1) | module IntercomRails class DateHelper (line 2) | class DateHelper method convert_dates_to_unix_timestamps (line 3) | def self.convert_dates_to_unix_timestamps(object) FILE: lib/intercom-rails/encrypted_mode.rb type IntercomRails (line 1) | module IntercomRails class EncryptedMode (line 2) | class EncryptedMode method initialize (line 7) | def initialize(secret, initialization_vector, options) method plaintext_part (line 13) | def plaintext_part(settings) method encrypted_javascript (line 17) | def encrypted_javascript(payload) method encrypt (line 21) | def encrypt(payload) FILE: lib/intercom-rails/exceptions.rb type IntercomRails (line 1) | module IntercomRails class Error (line 3) | class Error < StandardError; end class NoUserFoundError (line 4) | class NoUserFoundError < Error; end class ExcludedUserFoundError (line 5) | class ExcludedUserFoundError < Error; end class NoCompanyFoundError (line 6) | class NoCompanyFoundError < Error; end FILE: lib/intercom-rails/proxy.rb type IntercomRails (line 1) | module IntercomRails type Proxy (line 3) | module Proxy class Proxy (line 5) | class Proxy method class_string (line 7) | def self.class_string method inherited (line 11) | def self.inherited(subclass) method initialize (line 19) | def initialize(object_to_proxy, search_object = nil) method to_hash (line 24) | def to_hash method standard_data (line 34) | def standard_data method custom_data (line 48) | def custom_data method type (line 54) | def self.type method type (line 58) | def type method config (line 62) | def self.config(type_override = nil) method config (line 66) | def config(type_override = nil) method config_variable_set? (line 70) | def config_variable_set?(variable_name) method identity_present? (line 74) | def identity_present? method proxy_delegator (line 78) | def self.proxy_delegator(attribute_name, options = {}) method config_delegator (line 94) | def self.config_delegator(attribute_name) method identity_attributes (line 110) | def self.identity_attributes method standard_data_proxy_attributes (line 114) | def self.standard_data_proxy_attributes method standard_data_config_attributes (line 118) | def self.standard_data_config_attributes method custom_data_from_request (line 124) | def custom_data_from_request method custom_data_from_config (line 130) | def custom_data_from_config method custom_data_value (line 135) | def custom_data_value(proc_or_symbol_or_hash) FILE: lib/intercom-rails/proxy/company.rb type IntercomRails (line 1) | module IntercomRails type Proxy (line 3) | module Proxy class Company (line 5) | class Company < Proxy method current_in_context (line 14) | def self.current_in_context(search_object) method valid? (line 26) | def valid? FILE: lib/intercom-rails/proxy/user.rb type IntercomRails (line 1) | module IntercomRails type Proxy (line 3) | module Proxy class User (line 5) | class User < Proxy method potential_user_objects (line 17) | def self.potential_user_objects method current_in_context (line 29) | def self.current_in_context(search_object) method standard_data (line 42) | def standard_data method valid? (line 48) | def valid? method excluded? (line 54) | def excluded? FILE: lib/intercom-rails/railtie.rb type IntercomRails (line 1) | module IntercomRails class Railtie (line 2) | class Railtie < Rails::Railtie FILE: lib/intercom-rails/script_tag.rb type IntercomRails (line 7) | module IntercomRails class ScriptTag (line 9) | class ScriptTag method initialize (line 23) | def initialize(options = {}) method valid? (line 53) | def valid? method valid_nonce? (line 66) | def valid_nonce? method valid_nonce? (line 70) | def valid_nonce? method intercom_settings (line 75) | def intercom_settings method to_s (line 86) | def to_s method csp_sha256 (line 92) | def csp_sha256 method find_lead_attributes (line 98) | def find_lead_attributes method plaintext_settings (line 108) | def plaintext_settings method encrypted_settings (line 112) | def encrypted_settings method intercom_javascript (line 118) | def intercom_javascript method generate_jwt (line 125) | def generate_jwt method user_details= (line 144) | def user_details=(user_details) method find_current_user_details (line 168) | def find_current_user_details method company_details= (line 179) | def company_details=(company_details) method find_current_company_details (line 186) | def find_current_company_details method user_hash (line 193) | def user_hash method session_duration_from_config (line 197) | def session_duration_from_config method valid_session_duration? (line 204) | def valid_session_duration?(session_duration) method app_id (line 208) | def app_id method widget_options_from_config (line 215) | def widget_options_from_config FILE: lib/intercom-rails/script_tag_helper.rb type IntercomRails (line 1) | module IntercomRails type ScriptTagHelper (line 4) | module ScriptTagHelper function intercom_script_tag (line 31) | def intercom_script_tag(user_details = nil, options={}) FILE: lib/intercom-rails/shutdown_helper.rb type IntercomRails (line 1) | module IntercomRails type ShutdownHelper (line 2) | module ShutdownHelper function intercom_shutdown_helper (line 6) | def self.intercom_shutdown_helper(cookies, domain = nil) function prepare_intercom_shutdown (line 20) | def self.prepare_intercom_shutdown(session) function intercom_shutdown (line 24) | def self.intercom_shutdown(session, cookies, domain = nil) FILE: lib/intercom-rails/version.rb type IntercomRails (line 1) | module IntercomRails FILE: lib/rails/generators/intercom/config/config_generator.rb type Intercom (line 1) | module Intercom type Generators (line 2) | module Generators class ConfigGenerator (line 3) | class ConfigGenerator < ::Rails::Generators::Base method source_root (line 5) | def self.source_root method create_config_file (line 14) | def create_config_file FILE: spec/action_controller_spec_helper.rb type Rails (line 8) | module Rails function env (line 9) | def self.env type IntercomRails (line 19) | module IntercomRails class Application (line 20) | class Application < Rails::Application method routes (line 23) | def routes class ActionController::Base (line 29) | class ActionController::Base FILE: spec/auto_include_filter_spec.rb class TestController (line 3) | class TestController < ActionController::Base method without_user (line 10) | def without_user method with_user_instance_variable (line 14) | def with_user_instance_variable method with_user_instance_variable_no_body_tag (line 19) | def with_user_instance_variable_no_body_tag method with_user_instance_variable_after_filter_skipped (line 23) | def with_user_instance_variable_after_filter_skipped method with_user_and_app_instance_variables (line 27) | def with_user_and_app_instance_variables method with_user_instance_variable_and_custom_data (line 33) | def with_user_instance_variable_and_custom_data method with_unusable_user_instance_variable (line 39) | def with_unusable_user_instance_variable method with_mongo_like_user (line 44) | def with_mongo_like_user method with_numeric_user_id (line 51) | def with_numeric_user_id method with_current_user_method (line 58) | def with_current_user_method method with_admin_instance_variable (line 62) | def with_admin_instance_variable method with_some_tricky_string (line 67) | def with_some_tricky_string method render_content (line 74) | def render_content(body) method current_user (line 82) | def current_user FILE: spec/auto_include_filter_spec_csp_helper.rb type CoreExtensions (line 1) | module CoreExtensions type IntercomRails (line 2) | module IntercomRails type AutoInclude (line 3) | module AutoInclude function csp_nonce_hook (line 4) | def self.csp_nonce_hook(controller) FILE: spec/proxy/company_spec.rb function id (line 20) | def id FILE: spec/proxy/user_spec.rb function current_user (line 15) | def current_user function something_esoteric (line 37) | def something_esoteric function plan (line 60) | def plan function custom_data (line 76) | def custom_data function custom_data (line 93) | def custom_data function some_date (line 110) | def some_date function new_record? (line 137) | def new_record_user.new_record? function intercom_custom_data (line 147) | def intercom_custom_data function id (line 164) | def id FILE: spec/script_tag_spec.rb function sha256_hmac (line 138) | def sha256_hmac(secret, input) function intercom_custom_data (line 245) | def intercom_custom_data FILE: spec/spec_helper.rb function dummy_user (line 6) | def dummy_user(options = {}) class DummyBSONId (line 13) | class DummyBSONId method initialize (line 14) | def initialize(id) method as_json (line 17) | def as_json(_) method to_s (line 20) | def to_s function dummy_company (line 25) | def dummy_company(options = {}) function fake_action_view_class (line 32) | def fake_action_view_class