Module: Trycourier::Models

Defined in:
lib/trycourier/models/utm.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/filter.rb,
lib/trycourier/models/paging.rb,
lib/trycourier/models/tenant.rb,
lib/trycourier/models/audience.rb,
lib/trycourier/models/alignment.rb,
lib/trycourier/models/recipient.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/brand_colors.rb,
lib/trycourier/models/email_footer.rb,
lib/trycourier/models/email_header.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/user_recipient.rb,
lib/trycourier/models/message_context.rb,
lib/trycourier/models/message_details.rb,
lib/trycourier/models/message_routing.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/widget_background.rb,
lib/trycourier/models/channel_preference.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/tenant_association.rb,
lib/trycourier/models/tenant_list_params.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/send_message_params.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/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/audience_delete_params.rb,
lib/trycourier/models/audience_list_response.rb,
lib/trycourier/models/audience_update_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/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/subscription_topic_new.rb,
lib/trycourier/models/tenant_retrieve_params.rb,
lib/trycourier/models/users/topic_preference.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/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/notification_get_content.rb,
lib/trycourier/models/notification_list_params.rb,
lib/trycourier/models/profile_replace_response.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/translation_retrieve_params.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/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/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/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, ElementalNode, InboundBulkMessage, Lists, MessageRoutingChannel, Notifications, PreferenceStatus, Profiles, Tenants, TextStyle, Users Classes: Audience, AudienceDeleteParams, AudienceListMembersParams, AudienceListMembersResponse, AudienceListParams, AudienceListResponse, AudienceRetrieveParams, AudienceUpdateParams, AudienceUpdateResponse, AuditEvent, AuditEventListParams, AuditEventListResponse, AuditEventRetrieveParams, AuthIssueTokenParams, AuthIssueTokenResponse, AutomationInvokeResponse, 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, Filter, FilterConfig, Icons, InboundBulkMessageUser, InboundTrackEventParams, InboundTrackEventResponse, ListDeleteParams, ListListParams, ListListResponse, ListRestoreParams, ListRetrieveParams, ListUpdateParams, Logo, MessageCancelParams, MessageContentParams, MessageContentResponse, MessageContext, MessageDetails, MessageHistoryParams, MessageHistoryResponse, MessageListParams, MessageListResponse, MessageRetrieveParams, MessageRetrieveResponse, MessageRouting, NotificationGetContent, NotificationListParams, NotificationListResponse, NotificationPreferenceDetails, NotificationRetrieveContentParams, Paging, Preference, ProfileCreateParams, ProfileCreateResponse, ProfileDeleteParams, ProfileReplaceParams, ProfileReplaceResponse, ProfileRetrieveParams, ProfileRetrieveResponse, ProfileUpdateParams, PutSubscriptionsRecipient, Recipient, RecipientPreferences, RequestArchiveParams, Rule, SendMessageParams, SendMessageResponse, SubscribeToListsRequestItem, SubscriptionList, SubscriptionTopicNew, Tenant, TenantAssociation, TenantDeleteParams, TenantListParams, TenantListResponse, TenantListUsersParams, TenantListUsersResponse, TenantRetrieveParams, TenantUpdateParams, TranslationRetrieveParams, TranslationUpdateParams, UserRecipient, Utm, WidgetBackground

Constant Summary collapse

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