ElasticEmail 4.0.26 → 4.0.27
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 +16 -9
- data/VERSION +1 -1
- data/docs/Campaign.md +2 -0
- 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/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/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/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_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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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/version.rb +3 -3
- data/lib/ElasticEmail.rb +2 -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/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 +2 -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/spec_helper.rb +2 -2
- metadata +96 -96
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d7e71de54d22cf1753a4cac85b7bbb4d83f8b4c740e69269ed81795a4531d9e9
|
|
4
|
+
data.tar.gz: 614657b0af2ae8dae76193fbd7f104304a5c3f71332a65cce0cabfbd27eefbaa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 52bad164c737bf16c465a465f62127c6241cd97ae447c93cd51a38f1953f42fdd31018522a1bfedad7dee1d56bfb6c24d416fc69de4c2e538a5031c9399704fa
|
|
7
|
+
data.tar.gz: 37b6a9297145a369cfa3c7f7ea1185929972d31d06716b74d5d24adff6dccb928756cff8343894bae0fbeb449b5ac57adea884bc483865dab274d088cacb92ed
|
data/ElasticEmail.gemspec
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
=begin
|
|
4
4
|
#Elastic Email REST API
|
|
5
5
|
|
|
6
|
-
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target
|
|
6
|
+
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target='_blank' href='https://app.elasticemail.com/marketing/settings/new/manage-api'>here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. Downloadable library clients can be found in our Github repository <a target='_blank' href='https://github.com/ElasticEmail?tab=repositories&q=%22rest+api%22+in%3Areadme'>here</a>
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: 4.0.0
|
|
9
9
|
Contact: support@elasticemail.com
|
|
10
10
|
Generated by: https://openapi-generator.tech
|
|
11
|
-
Generator version: 7.
|
|
11
|
+
Generator version: 7.11.0
|
|
12
12
|
|
|
13
13
|
=end
|
|
14
14
|
|
data/README.md
CHANGED
|
@@ -8,15 +8,15 @@ Every API call is established on which specific request type (GET, POST, PUT, DE
|
|
|
8
8
|
|
|
9
9
|
The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request.
|
|
10
10
|
|
|
11
|
-
To start using this API, you will need your Access Token (available
|
|
11
|
+
To start using this API, you will need your Access Token (available <a target='_blank' href='https://app.elasticemail.com/marketing/settings/new/manage-api'>here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description.
|
|
12
12
|
|
|
13
|
-
Downloadable library clients can be found in our Github repository
|
|
13
|
+
Downloadable library clients can be found in our Github repository <a target='_blank' href='https://github.com/ElasticEmail/elasticemail-ruby'>here</a>
|
|
14
14
|
|
|
15
15
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
16
16
|
|
|
17
17
|
- API version: 4.0.0
|
|
18
|
-
- Package version: 4.0.
|
|
19
|
-
- Generator version: 7.
|
|
18
|
+
- Package version: 4.0.27
|
|
19
|
+
- Generator version: 7.11.0
|
|
20
20
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
21
21
|
|
|
22
22
|
## Installation
|
|
@@ -32,16 +32,16 @@ gem build ElasticEmail.gemspec
|
|
|
32
32
|
Then either install the gem locally:
|
|
33
33
|
|
|
34
34
|
```shell
|
|
35
|
-
gem install ./ElasticEmail-4.0.
|
|
35
|
+
gem install ./ElasticEmail-4.0.27.gem
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
(for development, run `gem install --dev ./ElasticEmail-4.0.
|
|
38
|
+
(for development, run `gem install --dev ./ElasticEmail-4.0.27.gem` to install the development dependencies)
|
|
39
39
|
|
|
40
40
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
41
41
|
|
|
42
42
|
Finally add this to the Gemfile:
|
|
43
43
|
|
|
44
|
-
gem 'ElasticEmail', '~> 4.0.
|
|
44
|
+
gem 'ElasticEmail', '~> 4.0.27'
|
|
45
45
|
|
|
46
46
|
### Install from Git
|
|
47
47
|
|
|
@@ -68,9 +68,9 @@ require 'ElasticEmail'
|
|
|
68
68
|
# Setup authorization
|
|
69
69
|
ElasticEmail.configure do |config|
|
|
70
70
|
# Configure API key authorization: apikey
|
|
71
|
-
config.api_key['
|
|
71
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
72
72
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
73
|
-
# config.api_key_prefix['
|
|
73
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
74
74
|
end
|
|
75
75
|
|
|
76
76
|
api_instance = ElasticEmail::CampaignsApi.new
|
|
@@ -309,3 +309,10 @@ Authentication schemes defined for the API:
|
|
|
309
309
|
- **API key parameter name**: X-ElasticEmail-ApiKey
|
|
310
310
|
- **Location**: HTTP header
|
|
311
311
|
|
|
312
|
+
### ApiKeyAuthCustomBranding
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
- **Type**: API key
|
|
316
|
+
- **API key parameter name**: X-Auth-Token
|
|
317
|
+
- **Location**: HTTP header
|
|
318
|
+
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
4.0.
|
|
1
|
+
4.0.27
|
data/docs/Campaign.md
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
| **name** | **String** | Campaign name | |
|
|
9
9
|
| **status** | [**CampaignStatus**](CampaignStatus.md) | | [optional][default to 'Deleted'] |
|
|
10
10
|
| **recipients** | [**CampaignRecipient**](CampaignRecipient.md) | | |
|
|
11
|
+
| **excluded_recipients** | [**CampaignRecipient**](CampaignRecipient.md) | | [optional] |
|
|
11
12
|
| **options** | [**CampaignOptions**](CampaignOptions.md) | | [optional] |
|
|
12
13
|
|
|
13
14
|
## Example
|
|
@@ -20,6 +21,7 @@ instance = ElasticEmail::Campaign.new(
|
|
|
20
21
|
name: null,
|
|
21
22
|
status: null,
|
|
22
23
|
recipients: null,
|
|
24
|
+
excluded_recipients: null,
|
|
23
25
|
options: null
|
|
24
26
|
)
|
|
25
27
|
```
|
data/docs/CampaignsApi.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::CampaignsApi.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::CampaignsApi.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::CampaignsApi.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::CampaignsApi.new
|
|
@@ -312,9 +312,9 @@ require 'ElasticEmail'
|
|
|
312
312
|
# setup authorization
|
|
313
313
|
ElasticEmail.configure do |config|
|
|
314
314
|
# Configure API key authorization: apikey
|
|
315
|
-
config.api_key['
|
|
315
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
316
316
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
317
|
-
# config.api_key_prefix['
|
|
317
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
318
318
|
end
|
|
319
319
|
|
|
320
320
|
api_instance = ElasticEmail::CampaignsApi.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::CampaignsApi.new
|
data/docs/Contact.md
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
| **custom_fields** | **Hash<String, String>** | A key-value collection of custom contact fields which can be used in the system. | [optional] |
|
|
12
12
|
| **consent** | [**ConsentData**](ConsentData.md) | | [optional] |
|
|
13
13
|
| **source** | [**ContactSource**](ContactSource.md) | | [optional][default to 'DeliveryApi'] |
|
|
14
|
+
| **source_info** | **String** | | [optional] |
|
|
14
15
|
| **date_added** | **Time** | Date of creation in YYYY-MM-DDThh:ii:ss format | [optional] |
|
|
15
16
|
| **date_updated** | **Time** | Last change date | [optional] |
|
|
16
17
|
| **status_change_date** | **Time** | Date of last status change. | [optional] |
|
|
@@ -29,6 +30,7 @@ instance = ElasticEmail::Contact.new(
|
|
|
29
30
|
custom_fields: {"city":"New York","age":"34"},
|
|
30
31
|
consent: null,
|
|
31
32
|
source: null,
|
|
33
|
+
source_info: null,
|
|
32
34
|
date_added: null,
|
|
33
35
|
date_updated: null,
|
|
34
36
|
status_change_date: null,
|
data/docs/ContactsApi.md
CHANGED
|
@@ -31,9 +31,9 @@ require 'ElasticEmail'
|
|
|
31
31
|
# setup authorization
|
|
32
32
|
ElasticEmail.configure do |config|
|
|
33
33
|
# Configure API key authorization: apikey
|
|
34
|
-
config.api_key['
|
|
34
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
35
35
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
36
|
-
# config.api_key_prefix['
|
|
36
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
37
37
|
end
|
|
38
38
|
|
|
39
39
|
api_instance = ElasticEmail::ContactsApi.new
|
|
@@ -101,9 +101,9 @@ require 'ElasticEmail'
|
|
|
101
101
|
# setup authorization
|
|
102
102
|
ElasticEmail.configure do |config|
|
|
103
103
|
# Configure API key authorization: apikey
|
|
104
|
-
config.api_key['
|
|
104
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
105
105
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
106
|
-
# config.api_key_prefix['
|
|
106
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
107
107
|
end
|
|
108
108
|
|
|
109
109
|
api_instance = ElasticEmail::ContactsApi.new
|
|
@@ -172,9 +172,9 @@ require 'ElasticEmail'
|
|
|
172
172
|
# setup authorization
|
|
173
173
|
ElasticEmail.configure do |config|
|
|
174
174
|
# Configure API key authorization: apikey
|
|
175
|
-
config.api_key['
|
|
175
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
176
176
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
177
|
-
# config.api_key_prefix['
|
|
177
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
178
178
|
end
|
|
179
179
|
|
|
180
180
|
api_instance = ElasticEmail::ContactsApi.new
|
|
@@ -245,9 +245,9 @@ require 'ElasticEmail'
|
|
|
245
245
|
# setup authorization
|
|
246
246
|
ElasticEmail.configure do |config|
|
|
247
247
|
# Configure API key authorization: apikey
|
|
248
|
-
config.api_key['
|
|
248
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
249
249
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
250
|
-
# config.api_key_prefix['
|
|
250
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
251
251
|
end
|
|
252
252
|
|
|
253
253
|
api_instance = ElasticEmail::ContactsApi.new
|
|
@@ -315,9 +315,9 @@ require 'ElasticEmail'
|
|
|
315
315
|
# setup authorization
|
|
316
316
|
ElasticEmail.configure do |config|
|
|
317
317
|
# Configure API key authorization: apikey
|
|
318
|
-
config.api_key['
|
|
318
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
319
319
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
320
|
-
# config.api_key_prefix['
|
|
320
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
321
321
|
end
|
|
322
322
|
|
|
323
323
|
api_instance = ElasticEmail::ContactsApi.new
|
|
@@ -386,9 +386,9 @@ require 'ElasticEmail'
|
|
|
386
386
|
# setup authorization
|
|
387
387
|
ElasticEmail.configure do |config|
|
|
388
388
|
# Configure API key authorization: apikey
|
|
389
|
-
config.api_key['
|
|
389
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
390
390
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
391
|
-
# config.api_key_prefix['
|
|
391
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
392
392
|
end
|
|
393
393
|
|
|
394
394
|
api_instance = ElasticEmail::ContactsApi.new
|
|
@@ -467,9 +467,9 @@ require 'ElasticEmail'
|
|
|
467
467
|
# setup authorization
|
|
468
468
|
ElasticEmail.configure do |config|
|
|
469
469
|
# Configure API key authorization: apikey
|
|
470
|
-
config.api_key['
|
|
470
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
471
471
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
472
|
-
# config.api_key_prefix['
|
|
472
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
473
473
|
end
|
|
474
474
|
|
|
475
475
|
api_instance = ElasticEmail::ContactsApi.new
|
|
@@ -542,9 +542,9 @@ require 'ElasticEmail'
|
|
|
542
542
|
# setup authorization
|
|
543
543
|
ElasticEmail.configure do |config|
|
|
544
544
|
# Configure API key authorization: apikey
|
|
545
|
-
config.api_key['
|
|
545
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
546
546
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
547
|
-
# config.api_key_prefix['
|
|
547
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
548
548
|
end
|
|
549
549
|
|
|
550
550
|
api_instance = ElasticEmail::ContactsApi.new
|
|
@@ -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::ContactsApi.new
|
data/docs/DomainsApi.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::DomainsApi.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::DomainsApi.new
|
|
@@ -171,9 +171,9 @@ require 'ElasticEmail'
|
|
|
171
171
|
# setup authorization
|
|
172
172
|
ElasticEmail.configure do |config|
|
|
173
173
|
# Configure API key authorization: apikey
|
|
174
|
-
config.api_key['
|
|
174
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
175
175
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
176
|
-
# config.api_key_prefix['
|
|
176
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
177
177
|
end
|
|
178
178
|
|
|
179
179
|
api_instance = ElasticEmail::DomainsApi.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::DomainsApi.new
|
|
@@ -315,9 +315,9 @@ require 'ElasticEmail'
|
|
|
315
315
|
# setup authorization
|
|
316
316
|
ElasticEmail.configure do |config|
|
|
317
317
|
# Configure API key authorization: apikey
|
|
318
|
-
config.api_key['
|
|
318
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
319
319
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
320
|
-
# config.api_key_prefix['
|
|
320
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
321
321
|
end
|
|
322
322
|
|
|
323
323
|
api_instance = ElasticEmail::DomainsApi.new
|
|
@@ -388,9 +388,9 @@ require 'ElasticEmail'
|
|
|
388
388
|
# setup authorization
|
|
389
389
|
ElasticEmail.configure do |config|
|
|
390
390
|
# Configure API key authorization: apikey
|
|
391
|
-
config.api_key['
|
|
391
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
392
392
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
393
|
-
# config.api_key_prefix['
|
|
393
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
394
394
|
end
|
|
395
395
|
|
|
396
396
|
api_instance = ElasticEmail::DomainsApi.new
|
|
@@ -459,9 +459,9 @@ require 'ElasticEmail'
|
|
|
459
459
|
# setup authorization
|
|
460
460
|
ElasticEmail.configure do |config|
|
|
461
461
|
# Configure API key authorization: apikey
|
|
462
|
-
config.api_key['
|
|
462
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
463
463
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
464
|
-
# config.api_key_prefix['
|
|
464
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
465
465
|
end
|
|
466
466
|
|
|
467
467
|
api_instance = ElasticEmail::DomainsApi.new
|
|
@@ -527,9 +527,9 @@ require 'ElasticEmail'
|
|
|
527
527
|
# setup authorization
|
|
528
528
|
ElasticEmail.configure do |config|
|
|
529
529
|
# Configure API key authorization: apikey
|
|
530
|
-
config.api_key['
|
|
530
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
531
531
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
532
|
-
# config.api_key_prefix['
|
|
532
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
533
533
|
end
|
|
534
534
|
|
|
535
535
|
api_instance = ElasticEmail::DomainsApi.new
|
data/docs/EmailsApi.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::EmailsApi.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::EmailsApi.new
|
|
@@ -191,9 +191,9 @@ require 'ElasticEmail'
|
|
|
191
191
|
# setup authorization
|
|
192
192
|
ElasticEmail.configure do |config|
|
|
193
193
|
# Configure API key authorization: apikey
|
|
194
|
-
config.api_key['
|
|
194
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
195
195
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
196
|
-
# config.api_key_prefix['
|
|
196
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
197
197
|
end
|
|
198
198
|
|
|
199
199
|
api_instance = ElasticEmail::EmailsApi.new
|
|
@@ -262,9 +262,9 @@ require 'ElasticEmail'
|
|
|
262
262
|
# setup authorization
|
|
263
263
|
ElasticEmail.configure do |config|
|
|
264
264
|
# Configure API key authorization: apikey
|
|
265
|
-
config.api_key['
|
|
265
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
266
266
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
267
|
-
# config.api_key_prefix['
|
|
267
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
268
268
|
end
|
|
269
269
|
|
|
270
270
|
api_instance = ElasticEmail::EmailsApi.new
|
|
@@ -333,9 +333,9 @@ require 'ElasticEmail'
|
|
|
333
333
|
# setup authorization
|
|
334
334
|
ElasticEmail.configure do |config|
|
|
335
335
|
# Configure API key authorization: apikey
|
|
336
|
-
config.api_key['
|
|
336
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
337
337
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
338
|
-
# config.api_key_prefix['
|
|
338
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
339
339
|
end
|
|
340
340
|
|
|
341
341
|
api_instance = ElasticEmail::EmailsApi.new
|
data/docs/EventsApi.md
CHANGED
|
@@ -29,9 +29,9 @@ require 'ElasticEmail'
|
|
|
29
29
|
# setup authorization
|
|
30
30
|
ElasticEmail.configure do |config|
|
|
31
31
|
# Configure API key authorization: apikey
|
|
32
|
-
config.api_key['
|
|
32
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
33
33
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
34
|
-
# config.api_key_prefix['
|
|
34
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
35
35
|
end
|
|
36
36
|
|
|
37
37
|
api_instance = ElasticEmail::EventsApi.new
|
|
@@ -112,9 +112,9 @@ require 'ElasticEmail'
|
|
|
112
112
|
# setup authorization
|
|
113
113
|
ElasticEmail.configure do |config|
|
|
114
114
|
# Configure API key authorization: apikey
|
|
115
|
-
config.api_key['
|
|
115
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
116
116
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
117
|
-
# config.api_key_prefix['
|
|
117
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
118
118
|
end
|
|
119
119
|
|
|
120
120
|
api_instance = ElasticEmail::EventsApi.new
|
|
@@ -197,9 +197,9 @@ require 'ElasticEmail'
|
|
|
197
197
|
# setup authorization
|
|
198
198
|
ElasticEmail.configure do |config|
|
|
199
199
|
# Configure API key authorization: apikey
|
|
200
|
-
config.api_key['
|
|
200
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
201
201
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
202
|
-
# config.api_key_prefix['
|
|
202
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
203
203
|
end
|
|
204
204
|
|
|
205
205
|
api_instance = ElasticEmail::EventsApi.new
|
|
@@ -282,9 +282,9 @@ require 'ElasticEmail'
|
|
|
282
282
|
# setup authorization
|
|
283
283
|
ElasticEmail.configure do |config|
|
|
284
284
|
# Configure API key authorization: apikey
|
|
285
|
-
config.api_key['
|
|
285
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
286
286
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
287
|
-
# config.api_key_prefix['
|
|
287
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
288
288
|
end
|
|
289
289
|
|
|
290
290
|
api_instance = ElasticEmail::EventsApi.new
|
|
@@ -353,9 +353,9 @@ require 'ElasticEmail'
|
|
|
353
353
|
# setup authorization
|
|
354
354
|
ElasticEmail.configure do |config|
|
|
355
355
|
# Configure API key authorization: apikey
|
|
356
|
-
config.api_key['
|
|
356
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
357
357
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
358
|
-
# config.api_key_prefix['
|
|
358
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
359
359
|
end
|
|
360
360
|
|
|
361
361
|
api_instance = ElasticEmail::EventsApi.new
|
|
@@ -424,9 +424,9 @@ require 'ElasticEmail'
|
|
|
424
424
|
# setup authorization
|
|
425
425
|
ElasticEmail.configure do |config|
|
|
426
426
|
# Configure API key authorization: apikey
|
|
427
|
-
config.api_key['
|
|
427
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
428
428
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
429
|
-
# config.api_key_prefix['
|
|
429
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
430
430
|
end
|
|
431
431
|
|
|
432
432
|
api_instance = ElasticEmail::EventsApi.new
|
|
@@ -507,9 +507,9 @@ require 'ElasticEmail'
|
|
|
507
507
|
# setup authorization
|
|
508
508
|
ElasticEmail.configure do |config|
|
|
509
509
|
# Configure API key authorization: apikey
|
|
510
|
-
config.api_key['
|
|
510
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
511
511
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
512
|
-
# config.api_key_prefix['
|
|
512
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
513
513
|
end
|
|
514
514
|
|
|
515
515
|
api_instance = ElasticEmail::EventsApi.new
|
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
|