ElasticEmail 4.0.26 → 4.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ElasticEmail.gemspec +2 -2
- data/README.md +24 -9
- data/VERSION +1 -1
- data/docs/Campaign.md +2 -0
- data/docs/CampaignOptions.md +3 -1
- data/docs/CampaignTemplate.md +2 -2
- data/docs/CampaignsApi.md +12 -12
- data/docs/Contact.md +2 -0
- data/docs/ContactsApi.md +18 -18
- data/docs/DomainsApi.md +16 -16
- data/docs/EmailContent.md +2 -2
- data/docs/EmailsApi.md +10 -10
- data/docs/EventsApi.md +14 -14
- data/docs/FilesApi.md +10 -10
- data/docs/InboundRouteApi.md +12 -12
- data/docs/ListsApi.md +16 -16
- data/docs/MessageAttachment.md +2 -2
- data/docs/RecipientEvent.md +2 -2
- data/docs/SecurityApi.md +30 -30
- data/docs/SegmentsApi.md +10 -10
- data/docs/StatisticsApi.md +10 -10
- data/docs/SubAccountsApi.md +12 -12
- data/docs/SuppressionsApi.md +24 -24
- data/docs/TemplatesApi.md +10 -10
- data/docs/VerificationsApi.md +25 -25
- data/docs/Webhook.md +42 -0
- data/docs/WebhookApi.md +372 -0
- data/docs/WebhookCreatePayload.md +34 -0
- data/docs/WebhookUpdatePayload.md +36 -0
- data/lib/ElasticEmail/api/campaigns_api.rb +6 -6
- data/lib/ElasticEmail/api/contacts_api.rb +8 -8
- data/lib/ElasticEmail/api/domains_api.rb +9 -9
- data/lib/ElasticEmail/api/emails_api.rb +7 -7
- data/lib/ElasticEmail/api/events_api.rb +9 -9
- data/lib/ElasticEmail/api/files_api.rb +6 -6
- data/lib/ElasticEmail/api/inbound_route_api.rb +7 -7
- data/lib/ElasticEmail/api/lists_api.rb +8 -8
- data/lib/ElasticEmail/api/security_api.rb +30 -30
- data/lib/ElasticEmail/api/segments_api.rb +6 -6
- data/lib/ElasticEmail/api/statistics_api.rb +7 -7
- data/lib/ElasticEmail/api/sub_accounts_api.rb +6 -6
- data/lib/ElasticEmail/api/suppressions_api.rb +10 -10
- data/lib/ElasticEmail/api/templates_api.rb +6 -6
- data/lib/ElasticEmail/api/verifications_api.rb +19 -19
- data/lib/ElasticEmail/api/webhook_api.rb +351 -0
- data/lib/ElasticEmail/api_client.rb +4 -4
- data/lib/ElasticEmail/api_error.rb +2 -2
- data/lib/ElasticEmail/configuration.rb +20 -3
- data/lib/ElasticEmail/models/access_level.rb +12 -3
- data/lib/ElasticEmail/models/account_status_enum.rb +2 -2
- data/lib/ElasticEmail/models/api_key.rb +2 -2
- data/lib/ElasticEmail/models/api_key_payload.rb +2 -2
- data/lib/ElasticEmail/models/body_content_type.rb +2 -2
- data/lib/ElasticEmail/models/body_part.rb +2 -2
- data/lib/ElasticEmail/models/campaign.rb +12 -3
- data/lib/ElasticEmail/models/campaign_options.rb +17 -6
- data/lib/ElasticEmail/models/campaign_recipient.rb +2 -2
- data/lib/ElasticEmail/models/campaign_status.rb +2 -2
- data/lib/ElasticEmail/models/campaign_template.rb +3 -3
- data/lib/ElasticEmail/models/certificate_validation_status.rb +2 -2
- data/lib/ElasticEmail/models/channel_log_status_summary.rb +2 -2
- data/lib/ElasticEmail/models/compression_format.rb +2 -2
- data/lib/ElasticEmail/models/consent_data.rb +2 -2
- data/lib/ElasticEmail/models/consent_tracking.rb +2 -2
- data/lib/ElasticEmail/models/contact.rb +12 -3
- data/lib/ElasticEmail/models/contact_activity.rb +2 -2
- data/lib/ElasticEmail/models/contact_payload.rb +2 -2
- data/lib/ElasticEmail/models/contact_source.rb +5 -3
- data/lib/ElasticEmail/models/contact_status.rb +2 -2
- data/lib/ElasticEmail/models/contact_update_payload.rb +2 -2
- data/lib/ElasticEmail/models/contacts_list.rb +2 -2
- data/lib/ElasticEmail/models/delivery_optimization_type.rb +2 -2
- data/lib/ElasticEmail/models/domain_data.rb +2 -2
- data/lib/ElasticEmail/models/domain_detail.rb +2 -2
- data/lib/ElasticEmail/models/domain_owner.rb +2 -2
- data/lib/ElasticEmail/models/domain_payload.rb +2 -2
- data/lib/ElasticEmail/models/domain_update_payload.rb +2 -2
- data/lib/ElasticEmail/models/email_content.rb +3 -3
- data/lib/ElasticEmail/models/email_data.rb +2 -2
- data/lib/ElasticEmail/models/email_job_failed_status.rb +2 -2
- data/lib/ElasticEmail/models/email_job_status.rb +2 -2
- data/lib/ElasticEmail/models/email_message_data.rb +2 -2
- data/lib/ElasticEmail/models/email_predicted_validation_status.rb +2 -2
- data/lib/ElasticEmail/models/email_recipient.rb +2 -2
- data/lib/ElasticEmail/models/email_send.rb +2 -2
- data/lib/ElasticEmail/models/email_status.rb +2 -2
- data/lib/ElasticEmail/models/email_transactional_message_data.rb +2 -2
- data/lib/ElasticEmail/models/email_validation_result.rb +2 -2
- data/lib/ElasticEmail/models/email_validation_status.rb +2 -2
- data/lib/ElasticEmail/models/email_view.rb +2 -2
- data/lib/ElasticEmail/models/emails_payload.rb +2 -2
- data/lib/ElasticEmail/models/encoding_type.rb +2 -2
- data/lib/ElasticEmail/models/event_type.rb +2 -2
- data/lib/ElasticEmail/models/events_order_by.rb +2 -2
- data/lib/ElasticEmail/models/export_file_formats.rb +2 -2
- data/lib/ElasticEmail/models/export_link.rb +2 -2
- data/lib/ElasticEmail/models/export_status.rb +2 -2
- data/lib/ElasticEmail/models/file_info.rb +2 -2
- data/lib/ElasticEmail/models/file_payload.rb +2 -2
- data/lib/ElasticEmail/models/file_upload_result.rb +2 -2
- data/lib/ElasticEmail/models/inbound_payload.rb +2 -2
- data/lib/ElasticEmail/models/inbound_route.rb +2 -2
- data/lib/ElasticEmail/models/inbound_route_action_type.rb +2 -2
- data/lib/ElasticEmail/models/inbound_route_filter_type.rb +2 -2
- data/lib/ElasticEmail/models/list_payload.rb +2 -2
- data/lib/ElasticEmail/models/list_update_payload.rb +2 -2
- data/lib/ElasticEmail/models/log_job_status.rb +2 -2
- data/lib/ElasticEmail/models/log_status_summary.rb +2 -2
- data/lib/ElasticEmail/models/merge_email_payload.rb +2 -2
- data/lib/ElasticEmail/models/message_attachment.rb +3 -3
- data/lib/ElasticEmail/models/message_category.rb +2 -2
- data/lib/ElasticEmail/models/message_category_enum.rb +2 -2
- data/lib/ElasticEmail/models/new_api_key.rb +2 -2
- data/lib/ElasticEmail/models/new_smtp_credentials.rb +2 -2
- data/lib/ElasticEmail/models/options.rb +2 -2
- data/lib/ElasticEmail/models/recipient_event.rb +3 -3
- data/lib/ElasticEmail/models/segment.rb +2 -2
- data/lib/ElasticEmail/models/segment_payload.rb +2 -2
- data/lib/ElasticEmail/models/smtp_credentials.rb +2 -2
- data/lib/ElasticEmail/models/smtp_credentials_payload.rb +2 -2
- data/lib/ElasticEmail/models/sort_order_item.rb +2 -2
- data/lib/ElasticEmail/models/split_optimization_type.rb +2 -2
- data/lib/ElasticEmail/models/split_options.rb +2 -2
- data/lib/ElasticEmail/models/sub_account_info.rb +2 -2
- data/lib/ElasticEmail/models/subaccount_email_credits_payload.rb +2 -2
- data/lib/ElasticEmail/models/subaccount_email_settings.rb +2 -2
- data/lib/ElasticEmail/models/subaccount_email_settings_payload.rb +2 -2
- data/lib/ElasticEmail/models/subaccount_payload.rb +2 -2
- data/lib/ElasticEmail/models/subaccount_settings_info.rb +2 -2
- data/lib/ElasticEmail/models/subaccount_settings_info_payload.rb +2 -2
- data/lib/ElasticEmail/models/suppression.rb +2 -2
- data/lib/ElasticEmail/models/template.rb +2 -2
- data/lib/ElasticEmail/models/template_payload.rb +2 -2
- data/lib/ElasticEmail/models/template_scope.rb +2 -2
- data/lib/ElasticEmail/models/template_type.rb +10 -3
- data/lib/ElasticEmail/models/tracking_type.rb +2 -2
- data/lib/ElasticEmail/models/tracking_validation_status.rb +2 -2
- data/lib/ElasticEmail/models/transactional_recipient.rb +2 -2
- data/lib/ElasticEmail/models/utm.rb +2 -2
- data/lib/ElasticEmail/models/verification_file_result.rb +2 -2
- data/lib/ElasticEmail/models/verification_file_result_details.rb +2 -2
- data/lib/ElasticEmail/models/verification_status.rb +2 -2
- data/lib/ElasticEmail/models/webhook.rb +330 -0
- data/lib/ElasticEmail/models/webhook_create_payload.rb +303 -0
- data/lib/ElasticEmail/models/webhook_update_payload.rb +306 -0
- data/lib/ElasticEmail/version.rb +3 -3
- data/lib/ElasticEmail.rb +6 -2
- data/spec/api/campaigns_api_spec.rb +2 -2
- data/spec/api/contacts_api_spec.rb +2 -2
- data/spec/api/domains_api_spec.rb +2 -2
- data/spec/api/emails_api_spec.rb +2 -2
- data/spec/api/events_api_spec.rb +2 -2
- data/spec/api/files_api_spec.rb +2 -2
- data/spec/api/inbound_route_api_spec.rb +2 -2
- data/spec/api/lists_api_spec.rb +2 -2
- data/spec/api/security_api_spec.rb +12 -12
- data/spec/api/segments_api_spec.rb +2 -2
- data/spec/api/statistics_api_spec.rb +2 -2
- data/spec/api/sub_accounts_api_spec.rb +2 -2
- data/spec/api/suppressions_api_spec.rb +2 -2
- data/spec/api/templates_api_spec.rb +2 -2
- data/spec/api/verifications_api_spec.rb +7 -7
- data/spec/api/webhook_api_spec.rb +97 -0
- data/spec/models/access_level_spec.rb +2 -2
- data/spec/models/account_status_enum_spec.rb +2 -2
- data/spec/models/api_key_payload_spec.rb +2 -2
- data/spec/models/api_key_spec.rb +2 -2
- data/spec/models/body_content_type_spec.rb +2 -2
- data/spec/models/body_part_spec.rb +2 -2
- data/spec/models/campaign_options_spec.rb +8 -2
- data/spec/models/campaign_recipient_spec.rb +2 -2
- data/spec/models/campaign_spec.rb +8 -2
- data/spec/models/campaign_status_spec.rb +2 -2
- data/spec/models/campaign_template_spec.rb +2 -2
- data/spec/models/certificate_validation_status_spec.rb +2 -2
- data/spec/models/channel_log_status_summary_spec.rb +2 -2
- data/spec/models/compression_format_spec.rb +2 -2
- data/spec/models/consent_data_spec.rb +2 -2
- data/spec/models/consent_tracking_spec.rb +2 -2
- data/spec/models/contact_activity_spec.rb +2 -2
- data/spec/models/contact_payload_spec.rb +2 -2
- data/spec/models/contact_source_spec.rb +2 -2
- data/spec/models/contact_spec.rb +8 -2
- data/spec/models/contact_status_spec.rb +2 -2
- data/spec/models/contact_update_payload_spec.rb +2 -2
- data/spec/models/contacts_list_spec.rb +2 -2
- data/spec/models/delivery_optimization_type_spec.rb +2 -2
- data/spec/models/domain_data_spec.rb +2 -2
- data/spec/models/domain_detail_spec.rb +2 -2
- data/spec/models/domain_owner_spec.rb +2 -2
- data/spec/models/domain_payload_spec.rb +2 -2
- data/spec/models/domain_update_payload_spec.rb +2 -2
- data/spec/models/email_content_spec.rb +2 -2
- data/spec/models/email_data_spec.rb +2 -2
- data/spec/models/email_job_failed_status_spec.rb +2 -2
- data/spec/models/email_job_status_spec.rb +2 -2
- data/spec/models/email_message_data_spec.rb +2 -2
- data/spec/models/email_predicted_validation_status_spec.rb +2 -2
- data/spec/models/email_recipient_spec.rb +2 -2
- data/spec/models/email_send_spec.rb +2 -2
- data/spec/models/email_status_spec.rb +2 -2
- data/spec/models/email_transactional_message_data_spec.rb +2 -2
- data/spec/models/email_validation_result_spec.rb +2 -2
- data/spec/models/email_validation_status_spec.rb +2 -2
- data/spec/models/email_view_spec.rb +2 -2
- data/spec/models/emails_payload_spec.rb +2 -2
- data/spec/models/encoding_type_spec.rb +2 -2
- data/spec/models/event_type_spec.rb +2 -2
- data/spec/models/events_order_by_spec.rb +2 -2
- data/spec/models/export_file_formats_spec.rb +2 -2
- data/spec/models/export_link_spec.rb +2 -2
- data/spec/models/export_status_spec.rb +2 -2
- data/spec/models/file_info_spec.rb +2 -2
- data/spec/models/file_payload_spec.rb +2 -2
- data/spec/models/file_upload_result_spec.rb +2 -2
- data/spec/models/inbound_payload_spec.rb +2 -2
- data/spec/models/inbound_route_action_type_spec.rb +2 -2
- data/spec/models/inbound_route_filter_type_spec.rb +2 -2
- data/spec/models/inbound_route_spec.rb +2 -2
- data/spec/models/list_payload_spec.rb +2 -2
- data/spec/models/list_update_payload_spec.rb +2 -2
- data/spec/models/log_job_status_spec.rb +2 -2
- data/spec/models/log_status_summary_spec.rb +2 -2
- data/spec/models/merge_email_payload_spec.rb +2 -2
- data/spec/models/message_attachment_spec.rb +2 -2
- data/spec/models/message_category_enum_spec.rb +2 -2
- data/spec/models/message_category_spec.rb +2 -2
- data/spec/models/new_api_key_spec.rb +2 -2
- data/spec/models/new_smtp_credentials_spec.rb +2 -2
- data/spec/models/options_spec.rb +2 -2
- data/spec/models/recipient_event_spec.rb +2 -2
- data/spec/models/segment_payload_spec.rb +2 -2
- data/spec/models/segment_spec.rb +2 -2
- data/spec/models/smtp_credentials_payload_spec.rb +2 -2
- data/spec/models/smtp_credentials_spec.rb +2 -2
- data/spec/models/sort_order_item_spec.rb +2 -2
- data/spec/models/split_optimization_type_spec.rb +2 -2
- data/spec/models/split_options_spec.rb +2 -2
- data/spec/models/sub_account_info_spec.rb +2 -2
- data/spec/models/subaccount_email_credits_payload_spec.rb +2 -2
- data/spec/models/subaccount_email_settings_payload_spec.rb +2 -2
- data/spec/models/subaccount_email_settings_spec.rb +2 -2
- data/spec/models/subaccount_payload_spec.rb +2 -2
- data/spec/models/subaccount_settings_info_payload_spec.rb +2 -2
- data/spec/models/subaccount_settings_info_spec.rb +2 -2
- data/spec/models/suppression_spec.rb +2 -2
- data/spec/models/template_payload_spec.rb +2 -2
- data/spec/models/template_scope_spec.rb +2 -2
- data/spec/models/template_spec.rb +2 -2
- data/spec/models/template_type_spec.rb +2 -2
- data/spec/models/tracking_type_spec.rb +2 -2
- data/spec/models/tracking_validation_status_spec.rb +2 -2
- data/spec/models/transactional_recipient_spec.rb +2 -2
- data/spec/models/utm_spec.rb +2 -2
- data/spec/models/verification_file_result_details_spec.rb +2 -2
- data/spec/models/verification_file_result_spec.rb +2 -2
- data/spec/models/verification_status_spec.rb +2 -2
- data/spec/models/webhook_create_payload_spec.rb +84 -0
- data/spec/models/webhook_spec.rb +108 -0
- data/spec/models/webhook_update_payload_spec.rb +90 -0
- data/spec/spec_helper.rb +2 -2
- metadata +110 -94
data/docs/FilesApi.md
CHANGED
|
@@ -27,9 +27,9 @@ require 'ElasticEmail'
|
|
|
27
27
|
# setup authorization
|
|
28
28
|
ElasticEmail.configure do |config|
|
|
29
29
|
# Configure API key authorization: apikey
|
|
30
|
-
config.api_key['
|
|
30
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
31
31
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
32
|
-
# config.api_key_prefix['
|
|
32
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
33
33
|
end
|
|
34
34
|
|
|
35
35
|
api_instance = ElasticEmail::FilesApi.new
|
|
@@ -97,9 +97,9 @@ require 'ElasticEmail'
|
|
|
97
97
|
# setup authorization
|
|
98
98
|
ElasticEmail.configure do |config|
|
|
99
99
|
# Configure API key authorization: apikey
|
|
100
|
-
config.api_key['
|
|
100
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
101
101
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
102
|
-
# config.api_key_prefix['
|
|
102
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
103
103
|
end
|
|
104
104
|
|
|
105
105
|
api_instance = ElasticEmail::FilesApi.new
|
|
@@ -168,9 +168,9 @@ require 'ElasticEmail'
|
|
|
168
168
|
# setup authorization
|
|
169
169
|
ElasticEmail.configure do |config|
|
|
170
170
|
# Configure API key authorization: apikey
|
|
171
|
-
config.api_key['
|
|
171
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
172
172
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
173
|
-
# config.api_key_prefix['
|
|
173
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
174
174
|
end
|
|
175
175
|
|
|
176
176
|
api_instance = ElasticEmail::FilesApi.new
|
|
@@ -239,9 +239,9 @@ require 'ElasticEmail'
|
|
|
239
239
|
# setup authorization
|
|
240
240
|
ElasticEmail.configure do |config|
|
|
241
241
|
# Configure API key authorization: apikey
|
|
242
|
-
config.api_key['
|
|
242
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
243
243
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
244
|
-
# config.api_key_prefix['
|
|
244
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
245
245
|
end
|
|
246
246
|
|
|
247
247
|
api_instance = ElasticEmail::FilesApi.new
|
|
@@ -314,9 +314,9 @@ require 'ElasticEmail'
|
|
|
314
314
|
# setup authorization
|
|
315
315
|
ElasticEmail.configure do |config|
|
|
316
316
|
# Configure API key authorization: apikey
|
|
317
|
-
config.api_key['
|
|
317
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
318
318
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
319
|
-
# config.api_key_prefix['
|
|
319
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
320
320
|
end
|
|
321
321
|
|
|
322
322
|
api_instance = ElasticEmail::FilesApi.new
|
data/docs/InboundRouteApi.md
CHANGED
|
@@ -28,9 +28,9 @@ require 'ElasticEmail'
|
|
|
28
28
|
# setup authorization
|
|
29
29
|
ElasticEmail.configure do |config|
|
|
30
30
|
# Configure API key authorization: apikey
|
|
31
|
-
config.api_key['
|
|
31
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
32
32
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
33
|
-
# config.api_key_prefix['
|
|
33
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
34
34
|
end
|
|
35
35
|
|
|
36
36
|
api_instance = ElasticEmail::InboundRouteApi.new
|
|
@@ -98,9 +98,9 @@ require 'ElasticEmail'
|
|
|
98
98
|
# setup authorization
|
|
99
99
|
ElasticEmail.configure do |config|
|
|
100
100
|
# Configure API key authorization: apikey
|
|
101
|
-
config.api_key['
|
|
101
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
102
102
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
103
|
-
# config.api_key_prefix['
|
|
103
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
104
104
|
end
|
|
105
105
|
|
|
106
106
|
api_instance = ElasticEmail::InboundRouteApi.new
|
|
@@ -169,9 +169,9 @@ require 'ElasticEmail'
|
|
|
169
169
|
# setup authorization
|
|
170
170
|
ElasticEmail.configure do |config|
|
|
171
171
|
# Configure API key authorization: apikey
|
|
172
|
-
config.api_key['
|
|
172
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
173
173
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
174
|
-
# config.api_key_prefix['
|
|
174
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
175
175
|
end
|
|
176
176
|
|
|
177
177
|
api_instance = ElasticEmail::InboundRouteApi.new
|
|
@@ -242,9 +242,9 @@ require 'ElasticEmail'
|
|
|
242
242
|
# setup authorization
|
|
243
243
|
ElasticEmail.configure do |config|
|
|
244
244
|
# Configure API key authorization: apikey
|
|
245
|
-
config.api_key['
|
|
245
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
246
246
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
247
|
-
# config.api_key_prefix['
|
|
247
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
248
248
|
end
|
|
249
249
|
|
|
250
250
|
api_instance = ElasticEmail::InboundRouteApi.new
|
|
@@ -310,9 +310,9 @@ require 'ElasticEmail'
|
|
|
310
310
|
# setup authorization
|
|
311
311
|
ElasticEmail.configure do |config|
|
|
312
312
|
# Configure API key authorization: apikey
|
|
313
|
-
config.api_key['
|
|
313
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
314
314
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
315
|
-
# config.api_key_prefix['
|
|
315
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
316
316
|
end
|
|
317
317
|
|
|
318
318
|
api_instance = ElasticEmail::InboundRouteApi.new
|
|
@@ -381,9 +381,9 @@ require 'ElasticEmail'
|
|
|
381
381
|
# setup authorization
|
|
382
382
|
ElasticEmail.configure do |config|
|
|
383
383
|
# Configure API key authorization: apikey
|
|
384
|
-
config.api_key['
|
|
384
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
385
385
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
386
|
-
# config.api_key_prefix['
|
|
386
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
387
387
|
end
|
|
388
388
|
|
|
389
389
|
api_instance = ElasticEmail::InboundRouteApi.new
|
data/docs/ListsApi.md
CHANGED
|
@@ -30,9 +30,9 @@ require 'ElasticEmail'
|
|
|
30
30
|
# setup authorization
|
|
31
31
|
ElasticEmail.configure do |config|
|
|
32
32
|
# Configure API key authorization: apikey
|
|
33
|
-
config.api_key['
|
|
33
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
34
34
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
35
|
-
# config.api_key_prefix['
|
|
35
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
36
36
|
end
|
|
37
37
|
|
|
38
38
|
api_instance = ElasticEmail::ListsApi.new
|
|
@@ -107,9 +107,9 @@ require 'ElasticEmail'
|
|
|
107
107
|
# setup authorization
|
|
108
108
|
ElasticEmail.configure do |config|
|
|
109
109
|
# Configure API key authorization: apikey
|
|
110
|
-
config.api_key['
|
|
110
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
111
111
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
112
|
-
# config.api_key_prefix['
|
|
112
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
113
113
|
end
|
|
114
114
|
|
|
115
115
|
api_instance = ElasticEmail::ListsApi.new
|
|
@@ -180,9 +180,9 @@ require 'ElasticEmail'
|
|
|
180
180
|
# setup authorization
|
|
181
181
|
ElasticEmail.configure do |config|
|
|
182
182
|
# Configure API key authorization: apikey
|
|
183
|
-
config.api_key['
|
|
183
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
184
184
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
185
|
-
# config.api_key_prefix['
|
|
185
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
186
186
|
end
|
|
187
187
|
|
|
188
188
|
api_instance = ElasticEmail::ListsApi.new
|
|
@@ -252,9 +252,9 @@ require 'ElasticEmail'
|
|
|
252
252
|
# setup authorization
|
|
253
253
|
ElasticEmail.configure do |config|
|
|
254
254
|
# Configure API key authorization: apikey
|
|
255
|
-
config.api_key['
|
|
255
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
256
256
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
257
|
-
# config.api_key_prefix['
|
|
257
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
258
258
|
end
|
|
259
259
|
|
|
260
260
|
api_instance = ElasticEmail::ListsApi.new
|
|
@@ -322,9 +322,9 @@ require 'ElasticEmail'
|
|
|
322
322
|
# setup authorization
|
|
323
323
|
ElasticEmail.configure do |config|
|
|
324
324
|
# Configure API key authorization: apikey
|
|
325
|
-
config.api_key['
|
|
325
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
326
326
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
327
|
-
# config.api_key_prefix['
|
|
327
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
328
328
|
end
|
|
329
329
|
|
|
330
330
|
api_instance = ElasticEmail::ListsApi.new
|
|
@@ -393,9 +393,9 @@ require 'ElasticEmail'
|
|
|
393
393
|
# setup authorization
|
|
394
394
|
ElasticEmail.configure do |config|
|
|
395
395
|
# Configure API key authorization: apikey
|
|
396
|
-
config.api_key['
|
|
396
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
397
397
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
398
|
-
# config.api_key_prefix['
|
|
398
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
399
399
|
end
|
|
400
400
|
|
|
401
401
|
api_instance = ElasticEmail::ListsApi.new
|
|
@@ -466,9 +466,9 @@ require 'ElasticEmail'
|
|
|
466
466
|
# setup authorization
|
|
467
467
|
ElasticEmail.configure do |config|
|
|
468
468
|
# Configure API key authorization: apikey
|
|
469
|
-
config.api_key['
|
|
469
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
470
470
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
471
|
-
# config.api_key_prefix['
|
|
471
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
472
472
|
end
|
|
473
473
|
|
|
474
474
|
api_instance = ElasticEmail::ListsApi.new
|
|
@@ -541,9 +541,9 @@ require 'ElasticEmail'
|
|
|
541
541
|
# setup authorization
|
|
542
542
|
ElasticEmail.configure do |config|
|
|
543
543
|
# Configure API key authorization: apikey
|
|
544
|
-
config.api_key['
|
|
544
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
545
545
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
546
|
-
# config.api_key_prefix['
|
|
546
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
547
547
|
end
|
|
548
548
|
|
|
549
549
|
api_instance = ElasticEmail::ListsApi.new
|
data/docs/MessageAttachment.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
| **binary_content** | **String** | File's content as byte array (or a Base64 string) | |
|
|
8
8
|
| **name** | **String** | Display name of the file | |
|
|
9
9
|
| **content_type** | **String** | MIME content type | [optional] |
|
|
10
|
-
| **size** | **Integer** | Size of
|
|
10
|
+
| **size** | **Integer** | Size of the attachement in B | [optional] |
|
|
11
11
|
|
|
12
12
|
## Example
|
|
13
13
|
|
|
@@ -18,7 +18,7 @@ instance = ElasticEmail::MessageAttachment.new(
|
|
|
18
18
|
binary_content: null,
|
|
19
19
|
name: null,
|
|
20
20
|
content_type: null,
|
|
21
|
-
size:
|
|
21
|
+
size: null
|
|
22
22
|
)
|
|
23
23
|
```
|
|
24
24
|
|
data/docs/RecipientEvent.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
| **channel_name** | **String** | Name of selected channel. | [optional] |
|
|
15
15
|
| **message_category** | [**MessageCategory**](MessageCategory.md) | | [optional][default to 'Unknown'] |
|
|
16
16
|
| **next_try_on** | **Time** | Date of next try | [optional] |
|
|
17
|
-
| **message** | **String** |
|
|
17
|
+
| **message** | **String** | Error message if sending has failed (FailedAttempt or Bounce) | [optional] |
|
|
18
18
|
| **ip_address** | **String** | IP which this email was sent through | [optional] |
|
|
19
19
|
| **pool_name** | **String** | Name of an IP pool this email was sent through | [optional] |
|
|
20
20
|
|
|
@@ -34,7 +34,7 @@ instance = ElasticEmail::RecipientEvent.new(
|
|
|
34
34
|
channel_name: Channel01,
|
|
35
35
|
message_category: null,
|
|
36
36
|
next_try_on: null,
|
|
37
|
-
message:
|
|
37
|
+
message: null,
|
|
38
38
|
ip_address: null,
|
|
39
39
|
pool_name: null
|
|
40
40
|
)
|
data/docs/SecurityApi.md
CHANGED
|
@@ -22,7 +22,7 @@ All URIs are relative to *https://api.elasticemail.com/v4*
|
|
|
22
22
|
|
|
23
23
|
Delete ApiKey
|
|
24
24
|
|
|
25
|
-
Delete your existing ApiKey. Required Access Level:
|
|
25
|
+
Delete your existing ApiKey. Required Access Level: ModifyAccessTokens
|
|
26
26
|
|
|
27
27
|
### Examples
|
|
28
28
|
|
|
@@ -32,9 +32,9 @@ require 'ElasticEmail'
|
|
|
32
32
|
# setup authorization
|
|
33
33
|
ElasticEmail.configure do |config|
|
|
34
34
|
# Configure API key authorization: apikey
|
|
35
|
-
config.api_key['
|
|
35
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
36
36
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
37
|
-
# config.api_key_prefix['
|
|
37
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
38
38
|
end
|
|
39
39
|
|
|
40
40
|
api_instance = ElasticEmail::SecurityApi.new
|
|
@@ -96,7 +96,7 @@ nil (empty response body)
|
|
|
96
96
|
|
|
97
97
|
Load ApiKey
|
|
98
98
|
|
|
99
|
-
Load your existing ApiKey info. Required Access Level:
|
|
99
|
+
Load your existing ApiKey info. Required Access Level: ViewAccessTokens
|
|
100
100
|
|
|
101
101
|
### Examples
|
|
102
102
|
|
|
@@ -106,9 +106,9 @@ require 'ElasticEmail'
|
|
|
106
106
|
# setup authorization
|
|
107
107
|
ElasticEmail.configure do |config|
|
|
108
108
|
# Configure API key authorization: apikey
|
|
109
|
-
config.api_key['
|
|
109
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
110
110
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
111
|
-
# config.api_key_prefix['
|
|
111
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
112
112
|
end
|
|
113
113
|
|
|
114
114
|
api_instance = ElasticEmail::SecurityApi.new
|
|
@@ -171,7 +171,7 @@ end
|
|
|
171
171
|
|
|
172
172
|
Update ApiKey
|
|
173
173
|
|
|
174
|
-
Update your existing ApiKey. Required Access Level:
|
|
174
|
+
Update your existing ApiKey. Required Access Level: ModifyAccessTokens
|
|
175
175
|
|
|
176
176
|
### Examples
|
|
177
177
|
|
|
@@ -181,9 +181,9 @@ require 'ElasticEmail'
|
|
|
181
181
|
# setup authorization
|
|
182
182
|
ElasticEmail.configure do |config|
|
|
183
183
|
# Configure API key authorization: apikey
|
|
184
|
-
config.api_key['
|
|
184
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
185
185
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
186
|
-
# config.api_key_prefix['
|
|
186
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
187
187
|
end
|
|
188
188
|
|
|
189
189
|
api_instance = ElasticEmail::SecurityApi.new
|
|
@@ -244,7 +244,7 @@ end
|
|
|
244
244
|
|
|
245
245
|
List ApiKeys
|
|
246
246
|
|
|
247
|
-
List all your existing ApiKeys. Required Access Level:
|
|
247
|
+
List all your existing ApiKeys. Required Access Level: ViewAccessTokens
|
|
248
248
|
|
|
249
249
|
### Examples
|
|
250
250
|
|
|
@@ -254,9 +254,9 @@ require 'ElasticEmail'
|
|
|
254
254
|
# setup authorization
|
|
255
255
|
ElasticEmail.configure do |config|
|
|
256
256
|
# Configure API key authorization: apikey
|
|
257
|
-
config.api_key['
|
|
257
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
258
258
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
259
|
-
# config.api_key_prefix['
|
|
259
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
260
260
|
end
|
|
261
261
|
|
|
262
262
|
api_instance = ElasticEmail::SecurityApi.new
|
|
@@ -317,7 +317,7 @@ end
|
|
|
317
317
|
|
|
318
318
|
Add ApiKey
|
|
319
319
|
|
|
320
|
-
Add a new ApiKey. Required Access Level:
|
|
320
|
+
Add a new ApiKey. Required Access Level: ModifyAccessTokens
|
|
321
321
|
|
|
322
322
|
### Examples
|
|
323
323
|
|
|
@@ -327,9 +327,9 @@ require 'ElasticEmail'
|
|
|
327
327
|
# setup authorization
|
|
328
328
|
ElasticEmail.configure do |config|
|
|
329
329
|
# Configure API key authorization: apikey
|
|
330
|
-
config.api_key['
|
|
330
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
331
331
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
332
|
-
# config.api_key_prefix['
|
|
332
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
333
333
|
end
|
|
334
334
|
|
|
335
335
|
api_instance = ElasticEmail::SecurityApi.new
|
|
@@ -388,7 +388,7 @@ end
|
|
|
388
388
|
|
|
389
389
|
Delete SMTP Credential
|
|
390
390
|
|
|
391
|
-
Delete your existing SMTP Credentials. Required Access Level:
|
|
391
|
+
Delete your existing SMTP Credentials. Required Access Level: ModifyAccessTokens
|
|
392
392
|
|
|
393
393
|
### Examples
|
|
394
394
|
|
|
@@ -398,9 +398,9 @@ require 'ElasticEmail'
|
|
|
398
398
|
# setup authorization
|
|
399
399
|
ElasticEmail.configure do |config|
|
|
400
400
|
# Configure API key authorization: apikey
|
|
401
|
-
config.api_key['
|
|
401
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
402
402
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
403
|
-
# config.api_key_prefix['
|
|
403
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
404
404
|
end
|
|
405
405
|
|
|
406
406
|
api_instance = ElasticEmail::SecurityApi.new
|
|
@@ -462,7 +462,7 @@ nil (empty response body)
|
|
|
462
462
|
|
|
463
463
|
Load SMTP Credential
|
|
464
464
|
|
|
465
|
-
Load your existing SMTP Credential info. Required Access Level:
|
|
465
|
+
Load your existing SMTP Credential info. Required Access Level: ViewAccessTokens
|
|
466
466
|
|
|
467
467
|
### Examples
|
|
468
468
|
|
|
@@ -472,9 +472,9 @@ require 'ElasticEmail'
|
|
|
472
472
|
# setup authorization
|
|
473
473
|
ElasticEmail.configure do |config|
|
|
474
474
|
# Configure API key authorization: apikey
|
|
475
|
-
config.api_key['
|
|
475
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
476
476
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
477
|
-
# config.api_key_prefix['
|
|
477
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
478
478
|
end
|
|
479
479
|
|
|
480
480
|
api_instance = ElasticEmail::SecurityApi.new
|
|
@@ -537,7 +537,7 @@ end
|
|
|
537
537
|
|
|
538
538
|
Update SMTP Credential
|
|
539
539
|
|
|
540
|
-
Update your existing SMTP Credentials. Required Access Level:
|
|
540
|
+
Update your existing SMTP Credentials. Required Access Level: ModifyAccessTokens
|
|
541
541
|
|
|
542
542
|
### Examples
|
|
543
543
|
|
|
@@ -547,9 +547,9 @@ require 'ElasticEmail'
|
|
|
547
547
|
# setup authorization
|
|
548
548
|
ElasticEmail.configure do |config|
|
|
549
549
|
# Configure API key authorization: apikey
|
|
550
|
-
config.api_key['
|
|
550
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
551
551
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
552
|
-
# config.api_key_prefix['
|
|
552
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
553
553
|
end
|
|
554
554
|
|
|
555
555
|
api_instance = ElasticEmail::SecurityApi.new
|
|
@@ -610,7 +610,7 @@ end
|
|
|
610
610
|
|
|
611
611
|
List SMTP Credentials
|
|
612
612
|
|
|
613
|
-
List all your existing SMTP Credentials. Required Access Level:
|
|
613
|
+
List all your existing SMTP Credentials. Required Access Level: ViewAccessTokens
|
|
614
614
|
|
|
615
615
|
### Examples
|
|
616
616
|
|
|
@@ -620,9 +620,9 @@ require 'ElasticEmail'
|
|
|
620
620
|
# setup authorization
|
|
621
621
|
ElasticEmail.configure do |config|
|
|
622
622
|
# Configure API key authorization: apikey
|
|
623
|
-
config.api_key['
|
|
623
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
624
624
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
625
|
-
# config.api_key_prefix['
|
|
625
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
626
626
|
end
|
|
627
627
|
|
|
628
628
|
api_instance = ElasticEmail::SecurityApi.new
|
|
@@ -683,7 +683,7 @@ end
|
|
|
683
683
|
|
|
684
684
|
Add SMTP Credential
|
|
685
685
|
|
|
686
|
-
Add new SMTP Credential. Required Access Level:
|
|
686
|
+
Add new SMTP Credential. Required Access Level: ModifyAccessTokens
|
|
687
687
|
|
|
688
688
|
### Examples
|
|
689
689
|
|
|
@@ -693,9 +693,9 @@ require 'ElasticEmail'
|
|
|
693
693
|
# setup authorization
|
|
694
694
|
ElasticEmail.configure do |config|
|
|
695
695
|
# Configure API key authorization: apikey
|
|
696
|
-
config.api_key['
|
|
696
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
697
697
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
698
|
-
# config.api_key_prefix['
|
|
698
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
699
699
|
end
|
|
700
700
|
|
|
701
701
|
api_instance = ElasticEmail::SecurityApi.new
|
data/docs/SegmentsApi.md
CHANGED
|
@@ -27,9 +27,9 @@ require 'ElasticEmail'
|
|
|
27
27
|
# setup authorization
|
|
28
28
|
ElasticEmail.configure do |config|
|
|
29
29
|
# Configure API key authorization: apikey
|
|
30
|
-
config.api_key['
|
|
30
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
31
31
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
32
|
-
# config.api_key_prefix['
|
|
32
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
33
33
|
end
|
|
34
34
|
|
|
35
35
|
api_instance = ElasticEmail::SegmentsApi.new
|
|
@@ -97,9 +97,9 @@ require 'ElasticEmail'
|
|
|
97
97
|
# setup authorization
|
|
98
98
|
ElasticEmail.configure do |config|
|
|
99
99
|
# Configure API key authorization: apikey
|
|
100
|
-
config.api_key['
|
|
100
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
101
101
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
102
|
-
# config.api_key_prefix['
|
|
102
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
103
103
|
end
|
|
104
104
|
|
|
105
105
|
api_instance = ElasticEmail::SegmentsApi.new
|
|
@@ -168,9 +168,9 @@ require 'ElasticEmail'
|
|
|
168
168
|
# setup authorization
|
|
169
169
|
ElasticEmail.configure do |config|
|
|
170
170
|
# Configure API key authorization: apikey
|
|
171
|
-
config.api_key['
|
|
171
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
172
172
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
173
|
-
# config.api_key_prefix['
|
|
173
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
174
174
|
end
|
|
175
175
|
|
|
176
176
|
api_instance = ElasticEmail::SegmentsApi.new
|
|
@@ -241,9 +241,9 @@ require 'ElasticEmail'
|
|
|
241
241
|
# setup authorization
|
|
242
242
|
ElasticEmail.configure do |config|
|
|
243
243
|
# Configure API key authorization: apikey
|
|
244
|
-
config.api_key['
|
|
244
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
245
245
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
246
|
-
# config.api_key_prefix['
|
|
246
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
247
247
|
end
|
|
248
248
|
|
|
249
249
|
api_instance = ElasticEmail::SegmentsApi.new
|
|
@@ -316,9 +316,9 @@ require 'ElasticEmail'
|
|
|
316
316
|
# setup authorization
|
|
317
317
|
ElasticEmail.configure do |config|
|
|
318
318
|
# Configure API key authorization: apikey
|
|
319
|
-
config.api_key['
|
|
319
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
320
320
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
321
|
-
# config.api_key_prefix['
|
|
321
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
322
322
|
end
|
|
323
323
|
|
|
324
324
|
api_instance = ElasticEmail::SegmentsApi.new
|
data/docs/StatisticsApi.md
CHANGED
|
@@ -27,9 +27,9 @@ require 'ElasticEmail'
|
|
|
27
27
|
# setup authorization
|
|
28
28
|
ElasticEmail.configure do |config|
|
|
29
29
|
# Configure API key authorization: apikey
|
|
30
|
-
config.api_key['
|
|
30
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
31
31
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
32
|
-
# config.api_key_prefix['
|
|
32
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
33
33
|
end
|
|
34
34
|
|
|
35
35
|
api_instance = ElasticEmail::StatisticsApi.new
|
|
@@ -98,9 +98,9 @@ require 'ElasticEmail'
|
|
|
98
98
|
# setup authorization
|
|
99
99
|
ElasticEmail.configure do |config|
|
|
100
100
|
# Configure API key authorization: apikey
|
|
101
|
-
config.api_key['
|
|
101
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
102
102
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
103
|
-
# config.api_key_prefix['
|
|
103
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
104
104
|
end
|
|
105
105
|
|
|
106
106
|
api_instance = ElasticEmail::StatisticsApi.new
|
|
@@ -173,9 +173,9 @@ require 'ElasticEmail'
|
|
|
173
173
|
# setup authorization
|
|
174
174
|
ElasticEmail.configure do |config|
|
|
175
175
|
# Configure API key authorization: apikey
|
|
176
|
-
config.api_key['
|
|
176
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
177
177
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
178
|
-
# config.api_key_prefix['
|
|
178
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
179
179
|
end
|
|
180
180
|
|
|
181
181
|
api_instance = ElasticEmail::StatisticsApi.new
|
|
@@ -244,9 +244,9 @@ require 'ElasticEmail'
|
|
|
244
244
|
# setup authorization
|
|
245
245
|
ElasticEmail.configure do |config|
|
|
246
246
|
# Configure API key authorization: apikey
|
|
247
|
-
config.api_key['
|
|
247
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
248
248
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
249
|
-
# config.api_key_prefix['
|
|
249
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
250
250
|
end
|
|
251
251
|
|
|
252
252
|
api_instance = ElasticEmail::StatisticsApi.new
|
|
@@ -319,9 +319,9 @@ require 'ElasticEmail'
|
|
|
319
319
|
# setup authorization
|
|
320
320
|
ElasticEmail.configure do |config|
|
|
321
321
|
# Configure API key authorization: apikey
|
|
322
|
-
config.api_key['
|
|
322
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
323
323
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
324
|
-
# config.api_key_prefix['
|
|
324
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
325
325
|
end
|
|
326
326
|
|
|
327
327
|
api_instance = ElasticEmail::StatisticsApi.new
|
data/docs/SubAccountsApi.md
CHANGED
|
@@ -28,9 +28,9 @@ require 'ElasticEmail'
|
|
|
28
28
|
# setup authorization
|
|
29
29
|
ElasticEmail.configure do |config|
|
|
30
30
|
# Configure API key authorization: apikey
|
|
31
|
-
config.api_key['
|
|
31
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
32
32
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
33
|
-
# config.api_key_prefix['
|
|
33
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
34
34
|
end
|
|
35
35
|
|
|
36
36
|
api_instance = ElasticEmail::SubAccountsApi.new
|
|
@@ -100,9 +100,9 @@ require 'ElasticEmail'
|
|
|
100
100
|
# setup authorization
|
|
101
101
|
ElasticEmail.configure do |config|
|
|
102
102
|
# Configure API key authorization: apikey
|
|
103
|
-
config.api_key['
|
|
103
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
104
104
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
105
|
-
# config.api_key_prefix['
|
|
105
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
106
106
|
end
|
|
107
107
|
|
|
108
108
|
api_instance = ElasticEmail::SubAccountsApi.new
|
|
@@ -170,9 +170,9 @@ require 'ElasticEmail'
|
|
|
170
170
|
# setup authorization
|
|
171
171
|
ElasticEmail.configure do |config|
|
|
172
172
|
# Configure API key authorization: apikey
|
|
173
|
-
config.api_key['
|
|
173
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
174
174
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
175
|
-
# config.api_key_prefix['
|
|
175
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
176
176
|
end
|
|
177
177
|
|
|
178
178
|
api_instance = ElasticEmail::SubAccountsApi.new
|
|
@@ -241,9 +241,9 @@ require 'ElasticEmail'
|
|
|
241
241
|
# setup authorization
|
|
242
242
|
ElasticEmail.configure do |config|
|
|
243
243
|
# Configure API key authorization: apikey
|
|
244
|
-
config.api_key['
|
|
244
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
245
245
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
246
|
-
# config.api_key_prefix['
|
|
246
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
247
247
|
end
|
|
248
248
|
|
|
249
249
|
api_instance = ElasticEmail::SubAccountsApi.new
|
|
@@ -314,9 +314,9 @@ require 'ElasticEmail'
|
|
|
314
314
|
# setup authorization
|
|
315
315
|
ElasticEmail.configure do |config|
|
|
316
316
|
# Configure API key authorization: apikey
|
|
317
|
-
config.api_key['
|
|
317
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
318
318
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
319
|
-
# config.api_key_prefix['
|
|
319
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
320
320
|
end
|
|
321
321
|
|
|
322
322
|
api_instance = ElasticEmail::SubAccountsApi.new
|
|
@@ -389,9 +389,9 @@ require 'ElasticEmail'
|
|
|
389
389
|
# setup authorization
|
|
390
390
|
ElasticEmail.configure do |config|
|
|
391
391
|
# Configure API key authorization: apikey
|
|
392
|
-
config.api_key['
|
|
392
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
393
393
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
394
|
-
# config.api_key_prefix['
|
|
394
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
395
395
|
end
|
|
396
396
|
|
|
397
397
|
api_instance = ElasticEmail::SubAccountsApi.new
|