Module: Trycourier::Models

Defined in:
lib/trycourier/models/utm.rb,
lib/trycourier/models/expo.rb,
lib/trycourier/models/logo.rb,
lib/trycourier/models/rule.rb,
lib/trycourier/models/brand.rb,
lib/trycourier/models/check.rb,
lib/trycourier/models/icons.rb,
lib/trycourier/models/slack.rb,
lib/trycourier/models/token.rb,
lib/trycourier/models/paging.rb,
lib/trycourier/models/tenant.rb,
lib/trycourier/models/discord.rb,
lib/trycourier/models/audience.rb,
lib/trycourier/models/intercom.rb,
lib/trycourier/models/ms_teams.rb,
lib/trycourier/models/alignment.rb,
lib/trycourier/models/pagerduty.rb,
lib/trycourier/models/base_check.rb,
lib/trycourier/models/email_head.rb,
lib/trycourier/models/preference.rb,
lib/trycourier/models/text_style.rb,
lib/trycourier/models/audit_event.rb,
lib/trycourier/models/device_type.rb,
lib/trycourier/models/list_filter.rb,
lib/trycourier/models/brand_colors.rb,
lib/trycourier/models/email_footer.rb,
lib/trycourier/models/email_header.rb,
lib/trycourier/models/user_profile.rb,
lib/trycourier/models/brand_snippet.rb,
lib/trycourier/models/filter_config.rb,
lib/trycourier/models/brand_settings.rb,
lib/trycourier/models/brand_snippets.rb,
lib/trycourier/models/brand_template.rb,
lib/trycourier/models/elemental_node.rb,
lib/trycourier/models/list_recipient.rb,
lib/trycourier/models/user_recipient.rb,
lib/trycourier/models/webhook_method.rb,
lib/trycourier/models/airship_profile.rb,
lib/trycourier/models/audience_filter.rb,
lib/trycourier/models/message_context.rb,
lib/trycourier/models/message_details.rb,
lib/trycourier/models/message_routing.rb,
lib/trycourier/models/multiple_tokens.rb,
lib/trycourier/models/send_to_channel.rb,
lib/trycourier/models/slack_recipient.rb,
lib/trycourier/models/webhook_profile.rb,
lib/trycourier/models/list_list_params.rb,
lib/trycourier/models/users/user_token.rb,
lib/trycourier/models/brand_list_params.rb,
lib/trycourier/models/elemental_content.rb,
lib/trycourier/models/preference_status.rb,
lib/trycourier/models/subscription_list.rb,
lib/trycourier/models/webhook_auth_mode.rb,
lib/trycourier/models/webhook_recipient.rb,
lib/trycourier/models/widget_background.rb,
lib/trycourier/models/audience_recipient.rb,
lib/trycourier/models/channel_preference.rb,
lib/trycourier/models/intercom_recipient.rb,
lib/trycourier/models/list_delete_params.rb,
lib/trycourier/models/list_list_response.rb,
lib/trycourier/models/list_update_params.rb,
lib/trycourier/models/ms_teams_recipient.rb,
lib/trycourier/models/tenant_association.rb,
lib/trycourier/models/tenant_list_params.rb,
lib/trycourier/models/automation_template.rb,
lib/trycourier/models/brand_create_params.rb,
lib/trycourier/models/brand_delete_params.rb,
lib/trycourier/models/brand_list_response.rb,
lib/trycourier/models/brand_update_params.rb,
lib/trycourier/models/bulk_run_job_params.rb,
lib/trycourier/models/default_preferences.rb,
lib/trycourier/models/elemental_base_node.rb,
lib/trycourier/models/list_restore_params.rb,
lib/trycourier/models/message_list_params.rb,
lib/trycourier/models/pagerduty_recipient.rb,
lib/trycourier/models/send_direct_message.rb,
lib/trycourier/models/send_message_params.rb,
lib/trycourier/models/send_to_slack_email.rb,
lib/trycourier/models/audience_list_params.rb,
lib/trycourier/models/brand_settings_email.rb,
lib/trycourier/models/inbound_bulk_message.rb,
lib/trycourier/models/list_retrieve_params.rb,
lib/trycourier/models/tenant_delete_params.rb,
lib/trycourier/models/tenant_list_response.rb,
lib/trycourier/models/tenant_update_params.rb,
lib/trycourier/models/webhook_profile_type.rb,
lib/trycourier/models/brand_retrieve_params.rb,
lib/trycourier/models/brand_settings_in_app.rb,
lib/trycourier/models/bulk_add_users_params.rb,
lib/trycourier/models/message_cancel_params.rb,
lib/trycourier/models/message_list_response.rb,
lib/trycourier/models/profile_create_params.rb,
lib/trycourier/models/profile_delete_params.rb,
lib/trycourier/models/profile_update_params.rb,
lib/trycourier/models/recipient_preferences.rb,
lib/trycourier/models/send_message_response.rb,
lib/trycourier/models/send_to_slack_channel.rb,
lib/trycourier/models/send_to_slack_user_id.rb,
lib/trycourier/models/slack_base_properties.rb,
lib/trycourier/models/audience_delete_params.rb,
lib/trycourier/models/audience_filter_config.rb,
lib/trycourier/models/audience_list_response.rb,
lib/trycourier/models/audience_update_params.rb,
lib/trycourier/models/automation_list_params.rb,
lib/trycourier/models/bulk_create_job_params.rb,
lib/trycourier/models/bulk_list_users_params.rb,
lib/trycourier/models/channel_classification.rb,
lib/trycourier/models/elemental_channel_node.rb,
lib/trycourier/models/list_pattern_recipient.rb,
lib/trycourier/models/message_content_params.rb,
lib/trycourier/models/message_history_params.rb,
lib/trycourier/models/profile_replace_params.rb,
lib/trycourier/models/request_archive_params.rb,
lib/trycourier/models/send_to_ms_teams_email.rb,
lib/trycourier/models/subscription_topic_new.rb,
lib/trycourier/models/tenant_retrieve_params.rb,
lib/trycourier/models/users/topic_preference.rb,
lib/trycourier/models/webhook_authentication.rb,
lib/trycourier/models/audit_event_list_params.rb,
lib/trycourier/models/auth_issue_token_params.rb,
lib/trycourier/models/elemental_content_sugar.rb,
lib/trycourier/models/message_retrieve_params.rb,
lib/trycourier/models/message_routing_channel.rb,
lib/trycourier/models/profile_create_response.rb,
lib/trycourier/models/profile_retrieve_params.rb,
lib/trycourier/models/users/token_list_params.rb,
lib/trycourier/models/airship_profile_audience.rb,
lib/trycourier/models/audience_retrieve_params.rb,
lib/trycourier/models/audience_update_response.rb,
lib/trycourier/models/bulk_create_job_response.rb,
lib/trycourier/models/bulk_list_users_response.rb,
lib/trycourier/models/bulk_retrieve_job_params.rb,
lib/trycourier/models/message_content_response.rb,
lib/trycourier/models/message_history_response.rb,
lib/trycourier/models/ms_teams_base_properties.rb,
lib/trycourier/models/notification_get_content.rb,
lib/trycourier/models/notification_list_params.rb,
lib/trycourier/models/profile_replace_response.rb,
lib/trycourier/models/send_to_ms_teams_user_id.rb,
lib/trycourier/models/tenant_list_users_params.rb,
lib/trycourier/models/users/tenant_list_params.rb,
lib/trycourier/models/audit_event_list_response.rb,
lib/trycourier/models/auth_issue_token_response.rb,
lib/trycourier/models/inbound_bulk_message_user.rb,
lib/trycourier/models/message_retrieve_response.rb,
lib/trycourier/models/profile_retrieve_response.rb,
lib/trycourier/models/translation_update_params.rb,
lib/trycourier/models/users/token_delete_params.rb,
lib/trycourier/models/users/token_list_response.rb,
lib/trycourier/models/users/token_update_params.rb,
lib/trycourier/models/automation_invoke_response.rb,
lib/trycourier/models/bulk_retrieve_job_response.rb,
lib/trycourier/models/inbound_track_event_params.rb,
lib/trycourier/models/notification_list_response.rb,
lib/trycourier/models/tenant_list_users_response.rb,
lib/trycourier/models/users/tenant_list_response.rb,
lib/trycourier/models/audit_event_retrieve_params.rb,
lib/trycourier/models/profiles/list_delete_params.rb,
lib/trycourier/models/put_subscriptions_recipient.rb,
lib/trycourier/models/send_to_ms_teams_channel_id.rb,
lib/trycourier/models/translation_retrieve_params.rb,
lib/trycourier/models/user_profile_firebase_token.rb,
lib/trycourier/models/users/token_retrieve_params.rb,
lib/trycourier/models/audience_list_members_params.rb,
lib/trycourier/models/inbound_track_event_response.rb,
lib/trycourier/models/tenants/template_list_params.rb,
lib/trycourier/models/elemental_meta_node_with_type.rb,
lib/trycourier/models/elemental_text_node_with_type.rb,
lib/trycourier/models/lists/subscription_add_params.rb,
lib/trycourier/models/profiles/list_delete_response.rb,
lib/trycourier/models/profiles/list_retrieve_params.rb,
lib/trycourier/models/send_to_ms_teams_channel_name.rb,
lib/trycourier/models/translation_retrieve_response.rb,
lib/trycourier/models/users/token_add_single_params.rb,
lib/trycourier/models/users/token_retrieve_response.rb,
lib/trycourier/models/audience_list_members_response.rb,
lib/trycourier/models/elemental_image_node_with_type.rb,
lib/trycourier/models/elemental_quote_node_with_type.rb,
lib/trycourier/models/lists/subscription_list_params.rb,
lib/trycourier/models/profiles/list_subscribe_params.rb,
lib/trycourier/models/tenants/template_list_response.rb,
lib/trycourier/models/users/tenant_add_single_params.rb,
lib/trycourier/models/users/tenant_remove_all_params.rb,
lib/trycourier/models/elemental_action_node_with_type.rb,
lib/trycourier/models/notification_preference_details.rb,
lib/trycourier/models/notifications/check_list_params.rb,
lib/trycourier/models/profiles/list_retrieve_response.rb,
lib/trycourier/models/subscribe_to_lists_request_item.rb,
lib/trycourier/models/users/token_add_multiple_params.rb,
lib/trycourier/models/base_template_tenant_association.rb,
lib/trycourier/models/elemental_channel_node_with_type.rb,
lib/trycourier/models/elemental_divider_node_with_type.rb,
lib/trycourier/models/lists/subscription_list_response.rb,
lib/trycourier/models/profiles/list_subscribe_response.rb,
lib/trycourier/models/send_to_ms_teams_conversation_id.rb,
lib/trycourier/models/tenants/template_retrieve_params.rb,
lib/trycourier/models/users/preference_retrieve_params.rb,
lib/trycourier/models/users/tenant_add_multiple_params.rb,
lib/trycourier/models/automation_template_list_response.rb,
lib/trycourier/models/notifications/check_delete_params.rb,
lib/trycourier/models/notifications/check_list_response.rb,
lib/trycourier/models/notifications/check_update_params.rb,
lib/trycourier/models/users/tenant_remove_single_params.rb,
lib/trycourier/models/users/preference_retrieve_response.rb,
lib/trycourier/models/lists/subscription_subscribe_params.rb,
lib/trycourier/models/notifications/check_update_response.rb,
lib/trycourier/models/notification_retrieve_content_params.rb,
lib/trycourier/models/tenants/preferences/item_delete_params.rb,
lib/trycourier/models/tenants/preferences/item_update_params.rb,
lib/trycourier/models/users/preference_retrieve_topic_params.rb,
lib/trycourier/models/automations/invoke_invoke_ad_hoc_params.rb,
lib/trycourier/models/lists/subscription_subscribe_user_params.rb,
lib/trycourier/models/users/preference_retrieve_topic_response.rb,
lib/trycourier/models/lists/subscription_unsubscribe_user_params.rb,
lib/trycourier/models/notifications/draft_retrieve_content_params.rb,
lib/trycourier/models/automations/invoke_invoke_by_template_params.rb,
lib/trycourier/models/users/preference_update_or_create_topic_params.rb,
lib/trycourier/models/users/preference_update_or_create_topic_response.rb

Defined Under Namespace

Modules: Alignment, Automations, ChannelClassification, Discord, ElementalNode, Expo, Lists, MessageRoutingChannel, MsTeams, Notifications, PreferenceStatus, Profiles, Slack, Tenants, TextStyle, UserProfileFirebaseToken, Users, WebhookAuthMode, WebhookMethod, WebhookProfileType Classes: AirshipProfile, AirshipProfileAudience, Audience, AudienceDeleteParams, AudienceFilter, AudienceFilterConfig, AudienceListMembersParams, AudienceListMembersResponse, AudienceListParams, AudienceListResponse, AudienceRecipient, AudienceRetrieveParams, AudienceUpdateParams, AudienceUpdateResponse, AuditEvent, AuditEventListParams, AuditEventListResponse, AuditEventRetrieveParams, AuthIssueTokenParams, AuthIssueTokenResponse, AutomationInvokeResponse, AutomationListParams, AutomationTemplate, AutomationTemplateListResponse, BaseCheck, BaseTemplateTenantAssociation, Brand, BrandColors, BrandCreateParams, BrandDeleteParams, BrandListParams, BrandListResponse, BrandRetrieveParams, BrandSettings, BrandSettingsEmail, BrandSettingsInApp, BrandSnippet, BrandSnippets, BrandTemplate, BrandUpdateParams, BulkAddUsersParams, BulkCreateJobParams, BulkCreateJobResponse, BulkListUsersParams, BulkListUsersResponse, BulkRetrieveJobParams, BulkRetrieveJobResponse, BulkRunJobParams, ChannelPreference, Check, DefaultPreferences, ElementalActionNodeWithType, ElementalBaseNode, ElementalChannelNode, ElementalChannelNodeWithType, ElementalContent, ElementalContentSugar, ElementalDividerNodeWithType, ElementalImageNodeWithType, ElementalMetaNodeWithType, ElementalQuoteNodeWithType, ElementalTextNodeWithType, EmailFooter, EmailHead, EmailHeader, FilterConfig, Icons, InboundBulkMessage, InboundBulkMessageUser, InboundTrackEventParams, InboundTrackEventResponse, Intercom, IntercomRecipient, ListDeleteParams, ListFilter, ListListParams, ListListResponse, ListPatternRecipient, ListRecipient, ListRestoreParams, ListRetrieveParams, ListUpdateParams, Logo, MessageCancelParams, MessageContentParams, MessageContentResponse, MessageContext, MessageDetails, MessageHistoryParams, MessageHistoryResponse, MessageListParams, MessageListResponse, MessageRetrieveParams, MessageRetrieveResponse, MessageRouting, MsTeamsBaseProperties, MsTeamsRecipient, MultipleTokens, NotificationGetContent, NotificationListParams, NotificationListResponse, NotificationPreferenceDetails, NotificationRetrieveContentParams, Pagerduty, PagerdutyRecipient, Paging, Preference, ProfileCreateParams, ProfileCreateResponse, ProfileDeleteParams, ProfileReplaceParams, ProfileReplaceResponse, ProfileRetrieveParams, ProfileRetrieveResponse, ProfileUpdateParams, PutSubscriptionsRecipient, RecipientPreferences, RequestArchiveParams, Rule, SendDirectMessage, SendMessageParams, SendMessageResponse, SendToChannel, SendToMsTeamsChannelID, SendToMsTeamsChannelName, SendToMsTeamsConversationID, SendToMsTeamsEmail, SendToMsTeamsUserID, SendToSlackChannel, SendToSlackEmail, SendToSlackUserID, SlackBaseProperties, SlackRecipient, SubscribeToListsRequestItem, SubscriptionList, SubscriptionTopicNew, Tenant, TenantAssociation, TenantDeleteParams, TenantListParams, TenantListResponse, TenantListUsersParams, TenantListUsersResponse, TenantRetrieveParams, TenantUpdateParams, Token, TranslationRetrieveParams, TranslationUpdateParams, UserProfile, UserRecipient, Utm, WebhookAuthentication, WebhookProfile, WebhookRecipient, WidgetBackground

Constant Summary collapse

DeviceType =
String
UserToken =
Users::UserToken
TranslationRetrieveResponse =
String

Instance Method Summary collapse

Instance Method Details

#initialize(ip: nil, lat: nil, long: nil, os_version: nil) ⇒ Object

Tracking information about the device the token came from.

Parameters:

  • ip (String, nil) (defaults to: nil)

    The IP address of the device

  • lat (String, nil) (defaults to: nil)

    The latitude of the device

  • long (String, nil) (defaults to: nil)

    The longitude of the device

  • os_version (String, nil) (defaults to: nil)

    The operating system version



# File 'lib/trycourier/models/users/user_token.rb', line 167