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.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +3 -1
  3. data/README.md +50 -34
  4. data/Rakefile +2 -0
  5. data/docs/APIError.md +12 -1
  6. data/docs/CompiledRead.md +13 -0
  7. data/docs/Cursor.md +11 -1
  8. data/docs/DraftMetaRead.md +27 -0
  9. data/docs/DraftRead.md +31 -0
  10. data/docs/DraftsApi.md +476 -0
  11. data/docs/DraftsRead.md +19 -0
  12. data/docs/InlineObject.md +17 -0
  13. data/docs/LocalizationKeyRead.md +19 -0
  14. data/docs/LocalizationMetaRead.md +15 -1
  15. data/docs/LocalizationRead.md +19 -1
  16. data/docs/LocalizationsApi.md +16 -18
  17. data/docs/TemplateMetaRead.md +15 -0
  18. data/docs/TemplateRead.md +16 -0
  19. data/docs/TemplatesApi.md +39 -40
  20. data/docs/TemplatesRead.md +10 -0
  21. data/dyspatch_client.gemspec +10 -16
  22. data/lib/dyspatch_client.rb +10 -4
  23. data/lib/dyspatch_client/api/drafts_api.rb +620 -0
  24. data/lib/dyspatch_client/api/localizations_api.rb +52 -34
  25. data/lib/dyspatch_client/api/templates_api.rb +100 -69
  26. data/lib/dyspatch_client/api_client.rb +54 -55
  27. data/lib/dyspatch_client/api_error.rb +23 -4
  28. data/lib/dyspatch_client/configuration.rb +49 -10
  29. data/lib/dyspatch_client/models/api_error.rb +50 -30
  30. data/lib/dyspatch_client/models/compiled_read.rb +49 -78
  31. data/lib/dyspatch_client/models/cursor.rb +47 -28
  32. data/lib/dyspatch_client/models/draft_meta_read.rb +258 -0
  33. data/lib/dyspatch_client/models/draft_read.rb +279 -0
  34. data/lib/dyspatch_client/models/drafts_read.rb +219 -0
  35. data/lib/dyspatch_client/models/inline_object.rb +206 -0
  36. data/lib/dyspatch_client/models/localization_key_read.rb +216 -0
  37. data/lib/dyspatch_client/models/localization_meta_read.rb +70 -39
  38. data/lib/dyspatch_client/models/localization_read.rb +73 -42
  39. data/lib/dyspatch_client/models/template_meta_read.rb +52 -33
  40. data/lib/dyspatch_client/models/template_read.rb +53 -34
  41. data/lib/dyspatch_client/models/templates_read.rb +45 -26
  42. data/lib/dyspatch_client/version.rb +5 -5
  43. data/pkg/dyspatch_client-5.0.0.gem +0 -0
  44. data/pkg/dyspatch_client-5.0.1.gem +0 -0
  45. data/spec/api/drafts_api_spec.rb +146 -0
  46. data/spec/api/localizations_api_spec.rb +12 -12
  47. data/spec/api/templates_api_spec.rb +24 -24
  48. data/spec/api_client_spec.rb +39 -39
  49. data/spec/configuration_spec.rb +12 -12
  50. data/spec/integration_spec.rb +41 -0
  51. data/spec/models/api_error_spec.rb +12 -13
  52. data/spec/models/compiled_read_spec.rb +10 -11
  53. data/spec/models/cursor_spec.rb +7 -8
  54. data/spec/models/draft_meta_read_spec.rb +77 -0
  55. data/spec/models/draft_read_spec.rb +83 -0
  56. data/spec/models/drafts_read_spec.rb +47 -0
  57. data/spec/models/inline_object_spec.rb +41 -0
  58. data/spec/models/localization_key_read_spec.rb +47 -0
  59. data/spec/models/localization_meta_read_spec.rb +18 -13
  60. data/spec/models/localization_read_spec.rb +20 -15
  61. data/spec/models/template_meta_read_spec.rb +12 -13
  62. data/spec/models/template_read_spec.rb +13 -14
  63. data/spec/models/templates_read_spec.rb +7 -8
  64. data/spec/spec_helper.rb +4 -4
  65. metadata +34 -128
  66. data/git_push.sh +0 -55
@@ -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
 
@@ -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
- **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
+ **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
 
@@ -4,17 +4,20 @@ All URIs are relative to *https://api.dyspatch.io*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**localizations_localization_id_get**](LocalizationsApi.md#localizations_localization_id_get) | **GET** /localizations/{localizationId} | Get Localization Object by ID
7
+ [**get_localization_by_id**](LocalizationsApi.md#get_localization_by_id) | **GET** /localizations/{localizationId} | Get Localization Object by ID
8
8
 
9
9
 
10
- # **localizations_localization_id_get**
11
- > LocalizationRead localizations_localization_id_get(localization_id, opts)
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
- localization_id = "localization_id_example" # String | A localization ID
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.localizations_localization_id_get(localization_id, opts)
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->localizations_localization_id_get: #{e}"
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. | [optional]
53
- **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]
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
- - **Content-Type**: Not defined
66
- - **Accept**: application/vnd.dyspatch.2019.03+json
67
-
68
-
65
+ - **Content-Type**: Not defined
66
+ - **Accept**: application/vnd.dyspatch.2020.04+json, */*
69
67
 
@@ -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
 
@@ -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
 
@@ -4,18 +4,21 @@ All URIs are relative to *https://api.dyspatch.io*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**templates_get**](TemplatesApi.md#templates_get) | **GET** /templates | List Templates
8
- [**templates_template_id_get**](TemplatesApi.md#templates_template_id_get) | **GET** /templates/{templateId} | Get Template by ID
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
- List Templates
12
+ ## get_template_by_id
15
13
 
16
- Gets a list of Template Metadata objects for all templates. Up to 25 results returned before results are paginated.
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
- opts = {
33
- cursor: "cursor_example", # String | A cursor value used to retrieve a specific page from a paginated result set.
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
- #List Templates
39
- result = api_instance.templates_get(opts)
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->templates_get: #{e}"
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
- **cursor** | **String**| A cursor value used to retrieve a specific page from a paginated result set. | [optional]
51
- **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]
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
- [**TemplatesRead**](TemplatesRead.md)
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
- - **Content-Type**: Not defined
64
- - **Accept**: application/vnd.dyspatch.2019.03+json
66
+ - **Content-Type**: Not defined
67
+ - **Accept**: application/vnd.dyspatch.2020.04+json, */*
65
68
 
66
69
 
70
+ ## get_templates
67
71
 
68
- # **templates_template_id_get**
69
- > TemplateRead templates_template_id_get(template_id, opts)
72
+ > TemplatesRead get_templates(accept, opts)
70
73
 
71
- Get Template by ID
74
+ List Templates
72
75
 
73
- Gets a template object with the matching ID. If the template has published content the "compiled" field will contain the template .
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
- template_id = "template_id_example" # String | A template ID
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
- #Get Template by ID
98
- result = api_instance.templates_template_id_get(template_id, opts)
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->templates_template_id_get: #{e}"
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
- **template_id** | **String**| A template ID |
110
- **target_language** | **String**| The type of templating language to compile as. Should only be used for visual templates. | [optional]
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
- [**TemplateRead**](TemplateRead.md)
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
- - **Content-Type**: Not defined
124
- - **Accept**: application/vnd.dyspatch.2019.03+json
125
-
126
-
124
+ - **Content-Type**: Not defined
125
+ - **Accept**: application/vnd.dyspatch.2020.04+json, */*
127
126
 
@@ -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
 
@@ -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 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)
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 spec version: 2019.03
8
+ The version of the OpenAPI document: 2020.04
9
9
  Contact: support@dyspatch.io
10
- Generated by: https://github.com/swagger-api/swagger-codegen.git
11
- Swagger Codegen version: 2.3.1
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 transactional and triggered 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"
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
- s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
35
- s.add_development_dependency 'webmock', '~> 1.24', '>= 1.24.3'
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"]