dyspatch_client 2.0.0 → 5.0.1
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/Gemfile +3 -1
- data/README.md +50 -34
- data/Rakefile +2 -0
- data/docs/APIError.md +12 -1
- data/docs/CompiledRead.md +13 -0
- data/docs/Cursor.md +11 -1
- data/docs/DraftMetaRead.md +27 -0
- data/docs/DraftRead.md +31 -0
- data/docs/DraftsApi.md +476 -0
- data/docs/DraftsRead.md +19 -0
- data/docs/InlineObject.md +17 -0
- data/docs/LocalizationKeyRead.md +19 -0
- data/docs/LocalizationMetaRead.md +15 -1
- data/docs/LocalizationRead.md +19 -1
- data/docs/LocalizationsApi.md +16 -18
- data/docs/TemplateMetaRead.md +15 -0
- data/docs/TemplateRead.md +16 -0
- data/docs/TemplatesApi.md +39 -40
- data/docs/TemplatesRead.md +10 -0
- data/dyspatch_client.gemspec +10 -16
- data/lib/dyspatch_client.rb +10 -4
- data/lib/dyspatch_client/api/drafts_api.rb +620 -0
- data/lib/dyspatch_client/api/localizations_api.rb +52 -34
- data/lib/dyspatch_client/api/templates_api.rb +100 -69
- data/lib/dyspatch_client/api_client.rb +54 -55
- data/lib/dyspatch_client/api_error.rb +23 -4
- data/lib/dyspatch_client/configuration.rb +49 -10
- data/lib/dyspatch_client/models/api_error.rb +50 -30
- data/lib/dyspatch_client/models/compiled_read.rb +49 -78
- data/lib/dyspatch_client/models/cursor.rb +47 -28
- data/lib/dyspatch_client/models/draft_meta_read.rb +258 -0
- data/lib/dyspatch_client/models/draft_read.rb +279 -0
- data/lib/dyspatch_client/models/drafts_read.rb +219 -0
- data/lib/dyspatch_client/models/inline_object.rb +206 -0
- data/lib/dyspatch_client/models/localization_key_read.rb +216 -0
- data/lib/dyspatch_client/models/localization_meta_read.rb +70 -39
- data/lib/dyspatch_client/models/localization_read.rb +73 -42
- data/lib/dyspatch_client/models/template_meta_read.rb +52 -33
- data/lib/dyspatch_client/models/template_read.rb +53 -34
- data/lib/dyspatch_client/models/templates_read.rb +45 -26
- data/lib/dyspatch_client/version.rb +5 -5
- data/pkg/dyspatch_client-5.0.0.gem +0 -0
- data/pkg/dyspatch_client-5.0.1.gem +0 -0
- data/spec/api/drafts_api_spec.rb +146 -0
- data/spec/api/localizations_api_spec.rb +12 -12
- data/spec/api/templates_api_spec.rb +24 -24
- data/spec/api_client_spec.rb +39 -39
- data/spec/configuration_spec.rb +12 -12
- data/spec/integration_spec.rb +41 -0
- data/spec/models/api_error_spec.rb +12 -13
- data/spec/models/compiled_read_spec.rb +10 -11
- data/spec/models/cursor_spec.rb +7 -8
- data/spec/models/draft_meta_read_spec.rb +77 -0
- data/spec/models/draft_read_spec.rb +83 -0
- data/spec/models/drafts_read_spec.rb +47 -0
- data/spec/models/inline_object_spec.rb +41 -0
- data/spec/models/localization_key_read_spec.rb +47 -0
- data/spec/models/localization_meta_read_spec.rb +18 -13
- data/spec/models/localization_read_spec.rb +20 -15
- data/spec/models/template_meta_read_spec.rb +12 -13
- data/spec/models/template_read_spec.rb +13 -14
- data/spec/models/templates_read_spec.rb +7 -8
- data/spec/spec_helper.rb +4 -4
- metadata +34 -128
- data/git_push.sh +0 -55
data/docs/DraftsRead.md
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# DyspatchClient::DraftsRead
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**cursor** | [**Cursor**](Cursor.md) | | [optional]
|
8
|
+
**data** | [**Array<DraftMetaRead>**](DraftMetaRead.md) | A list of draft metadata objects | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'DyspatchClient'
|
14
|
+
|
15
|
+
instance = DyspatchClient::DraftsRead.new(cursor: null,
|
16
|
+
data: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# DyspatchClient::InlineObject
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**name** | **String** | | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'DyspatchClient'
|
13
|
+
|
14
|
+
instance = DyspatchClient::InlineObject.new(name: English (US))
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# DyspatchClient::LocalizationKeyRead
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**key** | **String** | | [optional]
|
8
|
+
**comment** | **String** | | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'DyspatchClient'
|
14
|
+
|
15
|
+
instance = DyspatchClient::LocalizationKeyRead.new(key: null,
|
16
|
+
comment: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -1,11 +1,25 @@
|
|
1
1
|
# DyspatchClient::LocalizationMetaRead
|
2
2
|
|
3
3
|
## Properties
|
4
|
+
|
4
5
|
Name | Type | Description | Notes
|
5
6
|
------------ | ------------- | ------------- | -------------
|
6
7
|
**id** | **String** | An opaque, unique identifier for a localization | [optional]
|
7
|
-
**language** | **String** | A language identifier comprised of a language and a country identifier. See [supported languages](https://docs.dyspatch.io/localization/supported_languages/). | [optional]
|
8
8
|
**name** | **String** | The user-specified name of a localization | [optional]
|
9
9
|
**url** | **String** | The API url for a specific localization | [optional]
|
10
|
+
**locale_group** | **String** | the locale group this localization belongs to, if this field is empty the localization does not belong to any locale group | [optional]
|
11
|
+
**languages** | **Array<String>** | a list of locale codes that are available in the localization. See [supported languages](https://docs.dyspatch.io/localization/supported_languages/) for an exhaustive list of locale codes. | [optional]
|
12
|
+
|
13
|
+
## Code Sample
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'DyspatchClient'
|
17
|
+
|
18
|
+
instance = DyspatchClient::LocalizationMetaRead.new(id: loc_g3L7Cw6Hp5wUaf395LehwK,
|
19
|
+
name: English (US),
|
20
|
+
url: /localizations/loc_g3L7Cw6Hp5wUaf395LehwK,
|
21
|
+
locale_group: lgr_alka38ajla301,
|
22
|
+
languages: null)
|
23
|
+
```
|
10
24
|
|
11
25
|
|
data/docs/LocalizationRead.md
CHANGED
@@ -1,15 +1,33 @@
|
|
1
1
|
# DyspatchClient::LocalizationRead
|
2
2
|
|
3
3
|
## Properties
|
4
|
+
|
4
5
|
Name | Type | Description | Notes
|
5
6
|
------------ | ------------- | ------------- | -------------
|
6
7
|
**id** | **String** | An opaque, unique identifier for a localization | [optional]
|
7
|
-
**
|
8
|
+
**languages** | **Array<String>** | a list of locale codes that are available in the localization. See [supported languages](https://docs.dyspatch.io/localization/supported_languages/) for an exhaustive list of locale codes. | [optional]
|
8
9
|
**url** | **String** | The API url for a specific localization | [optional]
|
9
10
|
**template** | **String** | An opaque, unique identifier for a template | [optional]
|
10
11
|
**compiled** | [**CompiledRead**](CompiledRead.md) | | [optional]
|
11
12
|
**created_at** | **DateTime** | The time of initial creation | [optional]
|
12
13
|
**updated_at** | **DateTime** | The time of last update | [optional]
|
13
14
|
**name** | **String** | The user-specified name of a localization | [optional]
|
15
|
+
**locale_group** | **String** | the locale group this localization belongs to, if this field is empty the localization does not belong to any locale group | [optional]
|
16
|
+
|
17
|
+
## Code Sample
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'DyspatchClient'
|
21
|
+
|
22
|
+
instance = DyspatchClient::LocalizationRead.new(id: loc_g3L7Cw6Hp5wUaf395LehwK,
|
23
|
+
languages: null,
|
24
|
+
url: /localizations/loc_g3L7Cw6Hp5wUaf395LehwK,
|
25
|
+
template: tem_g3L7Cw6Hp5wU,
|
26
|
+
compiled: null,
|
27
|
+
created_at: null,
|
28
|
+
updated_at: null,
|
29
|
+
name: English (US),
|
30
|
+
locale_group: lgr_alka38ajla301)
|
31
|
+
```
|
14
32
|
|
15
33
|
|
data/docs/LocalizationsApi.md
CHANGED
@@ -4,17 +4,20 @@ All URIs are relative to *https://api.dyspatch.io*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**
|
7
|
+
[**get_localization_by_id**](LocalizationsApi.md#get_localization_by_id) | **GET** /localizations/{localizationId} | Get Localization Object by ID
|
8
8
|
|
9
9
|
|
10
|
-
|
11
|
-
|
10
|
+
|
11
|
+
## get_localization_by_id
|
12
|
+
|
13
|
+
> LocalizationRead get_localization_by_id(localization_id, target_language, accept)
|
12
14
|
|
13
15
|
Get Localization Object by ID
|
14
16
|
|
15
17
|
Returns a specific localization object with a matching ID
|
16
18
|
|
17
19
|
### Example
|
20
|
+
|
18
21
|
```ruby
|
19
22
|
# load the gem
|
20
23
|
require 'dyspatch_client'
|
@@ -27,30 +30,27 @@ DyspatchClient.configure do |config|
|
|
27
30
|
end
|
28
31
|
|
29
32
|
api_instance = DyspatchClient::LocalizationsApi.new
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
opts = {
|
34
|
-
target_language: "target_language_example", # String | The type of templating language to compile as. Should only be used for visual templates.
|
35
|
-
accept: "accept_example" # String | A version of the API that should be used for the request. For example, to use version "2019.03", set the value to "application/vnd.dyspatch.2019.03+json"
|
36
|
-
}
|
33
|
+
localization_id = 'localization_id_example' # String | A localization ID
|
34
|
+
target_language = 'target_language_example' # String | The type of templating language to compile as. Should only be used for visual templates.
|
35
|
+
accept = 'accept_example' # String | A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\"
|
37
36
|
|
38
37
|
begin
|
39
38
|
#Get Localization Object by ID
|
40
|
-
result = api_instance.
|
39
|
+
result = api_instance.get_localization_by_id(localization_id, target_language, accept)
|
41
40
|
p result
|
42
41
|
rescue DyspatchClient::ApiError => e
|
43
|
-
puts "Exception when calling LocalizationsApi->
|
42
|
+
puts "Exception when calling LocalizationsApi->get_localization_by_id: #{e}"
|
44
43
|
end
|
45
44
|
```
|
46
45
|
|
47
46
|
### Parameters
|
48
47
|
|
48
|
+
|
49
49
|
Name | Type | Description | Notes
|
50
50
|
------------- | ------------- | ------------- | -------------
|
51
51
|
**localization_id** | **String**| A localization ID |
|
52
|
-
**target_language** | **String**| The type of templating language to compile as. Should only be used for visual templates. |
|
53
|
-
**accept** | **String**| A version of the API that should be used for the request. For example, to use version
|
52
|
+
**target_language** | **String**| The type of templating language to compile as. Should only be used for visual templates. |
|
53
|
+
**accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" |
|
54
54
|
|
55
55
|
### Return type
|
56
56
|
|
@@ -62,8 +62,6 @@ Name | Type | Description | Notes
|
|
62
62
|
|
63
63
|
### HTTP request headers
|
64
64
|
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
65
|
+
- **Content-Type**: Not defined
|
66
|
+
- **Accept**: application/vnd.dyspatch.2020.04+json, */*
|
69
67
|
|
data/docs/TemplateMetaRead.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# DyspatchClient::TemplateMetaRead
|
2
2
|
|
3
3
|
## Properties
|
4
|
+
|
4
5
|
Name | Type | Description | Notes
|
5
6
|
------------ | ------------- | ------------- | -------------
|
6
7
|
**id** | **String** | An opaque, unique identifier for a template | [optional]
|
@@ -11,4 +12,18 @@ Name | Type | Description | Notes
|
|
11
12
|
**created_at** | **DateTime** | The time of initial creation | [optional]
|
12
13
|
**updated_at** | **DateTime** | The time of last update | [optional]
|
13
14
|
|
15
|
+
## Code Sample
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'DyspatchClient'
|
19
|
+
|
20
|
+
instance = DyspatchClient::TemplateMetaRead.new(id: tem_g3L7Cw6Hp5wU,
|
21
|
+
name: null,
|
22
|
+
description: null,
|
23
|
+
url: /templates/tem_g3L7Cw6Hp5wUaf395LehwK,
|
24
|
+
localizations: null,
|
25
|
+
created_at: null,
|
26
|
+
updated_at: null)
|
27
|
+
```
|
28
|
+
|
14
29
|
|
data/docs/TemplateRead.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# DyspatchClient::TemplateRead
|
2
2
|
|
3
3
|
## Properties
|
4
|
+
|
4
5
|
Name | Type | Description | Notes
|
5
6
|
------------ | ------------- | ------------- | -------------
|
6
7
|
**id** | **String** | An opaque, unique identifier for a template | [optional]
|
@@ -12,4 +13,19 @@ Name | Type | Description | Notes
|
|
12
13
|
**updated_at** | **DateTime** | The time of last update | [optional]
|
13
14
|
**localizations** | [**Array<LocalizationMetaRead>**](LocalizationMetaRead.md) | A list of the Template's available localizations | [optional]
|
14
15
|
|
16
|
+
## Code Sample
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'DyspatchClient'
|
20
|
+
|
21
|
+
instance = DyspatchClient::TemplateRead.new(id: tem_g3L7Cw6Hp5wU,
|
22
|
+
name: null,
|
23
|
+
description: null,
|
24
|
+
url: /templates/tem_g3L7Cw6Hp5wUaf395LehwK,
|
25
|
+
compiled: null,
|
26
|
+
created_at: null,
|
27
|
+
updated_at: null,
|
28
|
+
localizations: null)
|
29
|
+
```
|
30
|
+
|
15
31
|
|
data/docs/TemplatesApi.md
CHANGED
@@ -4,18 +4,21 @@ All URIs are relative to *https://api.dyspatch.io*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**
|
8
|
-
[**
|
7
|
+
[**get_template_by_id**](TemplatesApi.md#get_template_by_id) | **GET** /templates/{templateId} | Get Template by ID
|
8
|
+
[**get_templates**](TemplatesApi.md#get_templates) | **GET** /templates | List Templates
|
9
9
|
|
10
10
|
|
11
|
-
# **templates_get**
|
12
|
-
> TemplatesRead templates_get(opts)
|
13
11
|
|
14
|
-
|
12
|
+
## get_template_by_id
|
15
13
|
|
16
|
-
|
14
|
+
> TemplateRead get_template_by_id(template_id, target_language, accept)
|
15
|
+
|
16
|
+
Get Template by ID
|
17
|
+
|
18
|
+
Gets a template object with the matching ID. If the template has published content the \"compiled\" field will contain the template .
|
17
19
|
|
18
20
|
### Example
|
21
|
+
|
19
22
|
```ruby
|
20
23
|
# load the gem
|
21
24
|
require 'dyspatch_client'
|
@@ -28,31 +31,31 @@ DyspatchClient.configure do |config|
|
|
28
31
|
end
|
29
32
|
|
30
33
|
api_instance = DyspatchClient::TemplatesApi.new
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
accept: "accept_example" # String | A version of the API that should be used for the request. For example, to use version "2019.03", set the value to "application/vnd.dyspatch.2019.03+json"
|
35
|
-
}
|
34
|
+
template_id = 'template_id_example' # String | A template ID
|
35
|
+
target_language = 'target_language_example' # String | The type of templating language to compile as. Should only be used for visual templates.
|
36
|
+
accept = 'accept_example' # String | A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\"
|
36
37
|
|
37
38
|
begin
|
38
|
-
#
|
39
|
-
result = api_instance.
|
39
|
+
#Get Template by ID
|
40
|
+
result = api_instance.get_template_by_id(template_id, target_language, accept)
|
40
41
|
p result
|
41
42
|
rescue DyspatchClient::ApiError => e
|
42
|
-
puts "Exception when calling TemplatesApi->
|
43
|
+
puts "Exception when calling TemplatesApi->get_template_by_id: #{e}"
|
43
44
|
end
|
44
45
|
```
|
45
46
|
|
46
47
|
### Parameters
|
47
48
|
|
49
|
+
|
48
50
|
Name | Type | Description | Notes
|
49
51
|
------------- | ------------- | ------------- | -------------
|
50
|
-
**
|
51
|
-
**
|
52
|
+
**template_id** | **String**| A template ID |
|
53
|
+
**target_language** | **String**| The type of templating language to compile as. Should only be used for visual templates. |
|
54
|
+
**accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" |
|
52
55
|
|
53
56
|
### Return type
|
54
57
|
|
55
|
-
[**
|
58
|
+
[**TemplateRead**](TemplateRead.md)
|
56
59
|
|
57
60
|
### Authorization
|
58
61
|
|
@@ -60,19 +63,20 @@ Name | Type | Description | Notes
|
|
60
63
|
|
61
64
|
### HTTP request headers
|
62
65
|
|
63
|
-
|
64
|
-
|
66
|
+
- **Content-Type**: Not defined
|
67
|
+
- **Accept**: application/vnd.dyspatch.2020.04+json, */*
|
65
68
|
|
66
69
|
|
70
|
+
## get_templates
|
67
71
|
|
68
|
-
|
69
|
-
> TemplateRead templates_template_id_get(template_id, opts)
|
72
|
+
> TemplatesRead get_templates(accept, opts)
|
70
73
|
|
71
|
-
|
74
|
+
List Templates
|
72
75
|
|
73
|
-
Gets a
|
76
|
+
Gets a list of Template Metadata objects for all templates. Up to 25 results returned before results are paginated.
|
74
77
|
|
75
78
|
### Example
|
79
|
+
|
76
80
|
```ruby
|
77
81
|
# load the gem
|
78
82
|
require 'dyspatch_client'
|
@@ -85,34 +89,31 @@ DyspatchClient.configure do |config|
|
|
85
89
|
end
|
86
90
|
|
87
91
|
api_instance = DyspatchClient::TemplatesApi.new
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
opts = {
|
92
|
-
target_language: "target_language_example", # String | The type of templating language to compile as. Should only be used for visual templates.
|
93
|
-
accept: "accept_example" # String | A version of the API that should be used for the request. For example, to use version "2019.03", set the value to "application/vnd.dyspatch.2019.03+json"
|
92
|
+
accept = 'accept_example' # String | A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\"
|
93
|
+
opts = {
|
94
|
+
cursor: 'cursor_example' # String | A cursor value used to retrieve a specific page from a paginated result set.
|
94
95
|
}
|
95
96
|
|
96
97
|
begin
|
97
|
-
#
|
98
|
-
result = api_instance.
|
98
|
+
#List Templates
|
99
|
+
result = api_instance.get_templates(accept, opts)
|
99
100
|
p result
|
100
101
|
rescue DyspatchClient::ApiError => e
|
101
|
-
puts "Exception when calling TemplatesApi->
|
102
|
+
puts "Exception when calling TemplatesApi->get_templates: #{e}"
|
102
103
|
end
|
103
104
|
```
|
104
105
|
|
105
106
|
### Parameters
|
106
107
|
|
108
|
+
|
107
109
|
Name | Type | Description | Notes
|
108
110
|
------------- | ------------- | ------------- | -------------
|
109
|
-
**
|
110
|
-
**
|
111
|
-
**accept** | **String**| A version of the API that should be used for the request. For example, to use version "2019.03", set the value to "application/vnd.dyspatch.2019.03+json" | [optional]
|
111
|
+
**accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" |
|
112
|
+
**cursor** | **String**| A cursor value used to retrieve a specific page from a paginated result set. | [optional]
|
112
113
|
|
113
114
|
### Return type
|
114
115
|
|
115
|
-
[**
|
116
|
+
[**TemplatesRead**](TemplatesRead.md)
|
116
117
|
|
117
118
|
### Authorization
|
118
119
|
|
@@ -120,8 +121,6 @@ Name | Type | Description | Notes
|
|
120
121
|
|
121
122
|
### HTTP request headers
|
122
123
|
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
124
|
+
- **Content-Type**: Not defined
|
125
|
+
- **Accept**: application/vnd.dyspatch.2020.04+json, */*
|
127
126
|
|
data/docs/TemplatesRead.md
CHANGED
@@ -1,9 +1,19 @@
|
|
1
1
|
# DyspatchClient::TemplatesRead
|
2
2
|
|
3
3
|
## Properties
|
4
|
+
|
4
5
|
Name | Type | Description | Notes
|
5
6
|
------------ | ------------- | ------------- | -------------
|
6
7
|
**cursor** | [**Cursor**](Cursor.md) | | [optional]
|
7
8
|
**data** | [**Array<TemplateMetaRead>**](TemplateMetaRead.md) | A list of template metadata objects | [optional]
|
8
9
|
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'DyspatchClient'
|
14
|
+
|
15
|
+
instance = DyspatchClient::TemplatesRead.new(cursor: null,
|
16
|
+
data: null)
|
17
|
+
```
|
18
|
+
|
9
19
|
|
data/dyspatch_client.gemspec
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
|
2
|
+
|
3
3
|
=begin
|
4
4
|
#Dyspatch API
|
5
5
|
|
6
|
-
## Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries
|
6
|
+
## Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby)
|
7
7
|
|
8
|
-
OpenAPI
|
8
|
+
The version of the OpenAPI document: 2020.04
|
9
9
|
Contact: support@dyspatch.io
|
10
|
-
Generated by: https://
|
11
|
-
|
10
|
+
Generated by: https://openapi-generator.tech
|
11
|
+
OpenAPI Generator version: 4.3.1
|
12
12
|
|
13
13
|
=end
|
14
14
|
|
@@ -22,23 +22,17 @@ Gem::Specification.new do |s|
|
|
22
22
|
s.authors = ["Dyspatch"]
|
23
23
|
s.email = ["support@dyspatch.io"]
|
24
24
|
s.homepage = "https://www.dyspatch.io"
|
25
|
-
s.summary = "Dyspatch is an email production platform that helps teams create and change
|
26
|
-
s.description = "# Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries
|
27
|
-
s.license =
|
25
|
+
s.summary = "Dyspatch is an email production platform that helps teams create and change emails faster. See https://www.dyspatch.io for more information."
|
26
|
+
s.description = "# Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby) "
|
27
|
+
s.license = 'Apache-2.0'
|
28
28
|
s.required_ruby_version = ">= 1.9"
|
29
29
|
|
30
30
|
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
31
31
|
s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
|
32
32
|
|
33
33
|
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
34
|
-
|
35
|
-
s.
|
36
|
-
s.add_development_dependency 'autotest', '~> 4.4', '>= 4.4.6'
|
37
|
-
s.add_development_dependency 'autotest-rails-pure', '~> 4.1', '>= 4.1.2'
|
38
|
-
s.add_development_dependency 'autotest-growl', '~> 0.2', '>= 0.2.16'
|
39
|
-
s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.12'
|
40
|
-
|
41
|
-
s.files = `find *`.split("\n").uniq.sort.select{|f| !f.empty? }
|
34
|
+
|
35
|
+
s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
|
42
36
|
s.test_files = `find spec/*`.split("\n")
|
43
37
|
s.executables = []
|
44
38
|
s.require_paths = ["lib"]
|