Module: Intercom

Defined in:
lib/intercom.rb,
lib/intercom/tag.rb,
lib/intercom/note.rb,
lib/intercom/user.rb,
lib/intercom/admin.rb,
lib/intercom/count.rb,
lib/intercom/event.rb,
lib/intercom/utils.rb,
lib/intercom/errors.rb,
lib/intercom/company.rb,
lib/intercom/contact.rb,
lib/intercom/message.rb,
lib/intercom/request.rb,
lib/intercom/segment.rb,
lib/intercom/version.rb,
lib/intercom/conversation.rb,
lib/intercom/notification.rb,
lib/intercom/subscription.rb,
lib/intercom/lib/flat_store.rb,
lib/intercom/collection_proxy.rb,
lib/intercom/api_operations/find.rb,
lib/intercom/api_operations/list.rb,
lib/intercom/api_operations/load.rb,
lib/intercom/api_operations/save.rb,
lib/intercom/traits/api_resource.rb,
lib/intercom/api_operations/count.rb,
lib/intercom/generic_handlers/tag.rb,
lib/intercom/api_operations/delete.rb,
lib/intercom/lib/dynamic_accessors.rb,
lib/intercom/traits/dirty_tracking.rb,
lib/intercom/api_operations/convert.rb,
lib/intercom/generic_handlers/count.rb,
lib/intercom/api_operations/find_all.rb,
lib/intercom/lib/typed_json_deserializer.rb,
lib/intercom/extended_api_operations/tags.rb,
lib/intercom/extended_api_operations/reply.rb,
lib/intercom/extended_api_operations/users.rb,
lib/intercom/generic_handlers/base_handler.rb,
lib/intercom/generic_handlers/tag_find_all.rb,
lib/intercom/traits/generic_handler_binding.rb,
lib/intercom/traits/incrementable_attributes.rb,
lib/intercom/lib/dynamic_accessors_on_method_missing.rb

Overview

:nodoc:

Defined Under Namespace

Modules: ApiOperations, ExtendedApiOperations, GenericHandlers, Lib, Traits, Utils Classes: Admin, AttributeNotSetError, AuthenticationError, BadGatewayError, BadRequestError, CollectionProxy, Company, Contact, Conversation, Count, DeserializationError, Event, HttpError, IntercomError, IntercomInternalError, Message, MultipleMatchingUsersError, NoMethodMissingHandler, Note, Notification, RateLimitExceeded, Request, ResourceNotFound, Segment, ServerError, ServiceConnectionError, ServiceUnavailableError, Subscription, Tag, UnexpectedError, User

Constant Summary collapse

VERSION =
"2.5.4"

Class Method Summary collapse

Class Method Details

.api_key=(val) ⇒ Object

This method is obsolete and used to warn of backwards incompatible changes on upgrading

Raises:

  • (ArgumentError)


67
68
69
# File 'lib/intercom.rb', line 67

def self.api_key=(val)
  raise ArgumentError, "#{compatibility_warning_text} #{compatibility_workaround_text} #{related_docs_text}"
end

.app_api_keyObject



54
55
56
# File 'lib/intercom.rb', line 54

def self.app_api_key
  @app_api_key
end

.app_api_key=(app_api_key) ⇒ Object



50
51
52
# File 'lib/intercom.rb', line 50

def self.app_api_key=(app_api_key)
  @app_api_key = app_api_key
end

.app_idObject



46
47
48
# File 'lib/intercom.rb', line 46

def self.app_id
  @app_id
end

.app_id=(app_id) ⇒ Object



42
43
44
# File 'lib/intercom.rb', line 42

def self.app_id=(app_id)
  @app_id = app_id
end

.rate_limit_detailsObject



62
63
64
# File 'lib/intercom.rb', line 62

def self.rate_limit_details
  @rate_limit_details
end

.rate_limit_details=(rate_limit_details) ⇒ Object



58
59
60
# File 'lib/intercom.rb', line 58

def self.rate_limit_details=(rate_limit_details)
  @rate_limit_details = rate_limit_details
end