dyspatch_client 5.0.1 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +9 -7
  3. data/docs/CompiledRead.md +4 -2
  4. data/docs/DraftsApi.md +21 -21
  5. data/docs/LocalizationsApi.md +70 -9
  6. data/docs/TemplatesApi.md +6 -6
  7. data/dyspatch_client.gemspec +1 -1
  8. data/lib/dyspatch_client.rb +1 -1
  9. data/lib/dyspatch_client/api/drafts_api.rb +26 -26
  10. data/lib/dyspatch_client/api/localizations_api.rb +102 -15
  11. data/lib/dyspatch_client/api/templates_api.rb +8 -8
  12. data/lib/dyspatch_client/api_client.rb +1 -1
  13. data/lib/dyspatch_client/api_error.rb +1 -1
  14. data/lib/dyspatch_client/configuration.rb +1 -1
  15. data/lib/dyspatch_client/models/api_error.rb +1 -1
  16. data/lib/dyspatch_client/models/compiled_read.rb +12 -2
  17. data/lib/dyspatch_client/models/cursor.rb +1 -1
  18. data/lib/dyspatch_client/models/draft_meta_read.rb +1 -1
  19. data/lib/dyspatch_client/models/draft_read.rb +1 -1
  20. data/lib/dyspatch_client/models/drafts_read.rb +1 -1
  21. data/lib/dyspatch_client/models/inline_object.rb +1 -1
  22. data/lib/dyspatch_client/models/localization_key_read.rb +1 -1
  23. data/lib/dyspatch_client/models/localization_meta_read.rb +1 -1
  24. data/lib/dyspatch_client/models/localization_read.rb +1 -1
  25. data/lib/dyspatch_client/models/template_meta_read.rb +1 -1
  26. data/lib/dyspatch_client/models/template_read.rb +1 -1
  27. data/lib/dyspatch_client/models/templates_read.rb +1 -1
  28. data/lib/dyspatch_client/version.rb +2 -2
  29. data/spec/api/drafts_api_spec.rb +10 -10
  30. data/spec/api/localizations_api_spec.rb +20 -5
  31. data/spec/api/templates_api_spec.rb +3 -3
  32. data/spec/api_client_spec.rb +1 -1
  33. data/spec/configuration_spec.rb +1 -1
  34. data/spec/spec_helper.rb +1 -1
  35. metadata +16 -46
  36. data/LICENSE +0 -202
  37. data/pkg/dyspatch_client-5.0.0.gem +0 -0
  38. data/pkg/dyspatch_client-5.0.1.gem +0 -0
  39. data/spec/integration_spec.rb +0 -41
  40. data/spec/models/api_error_spec.rb +0 -57
  41. data/spec/models/compiled_read_spec.rb +0 -65
  42. data/spec/models/cursor_spec.rb +0 -47
  43. data/spec/models/draft_meta_read_spec.rb +0 -77
  44. data/spec/models/draft_read_spec.rb +0 -83
  45. data/spec/models/drafts_read_spec.rb +0 -47
  46. data/spec/models/inline_object_spec.rb +0 -41
  47. data/spec/models/localization_key_read_spec.rb +0 -47
  48. data/spec/models/localization_meta_read_spec.rb +0 -65
  49. data/spec/models/localization_read_spec.rb +0 -89
  50. data/spec/models/template_meta_read_spec.rb +0 -77
  51. data/spec/models/template_read_spec.rb +0 -83
  52. data/spec/models/templates_read_spec.rb +0 -47
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## 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)
5
5
 
6
- The version of the OpenAPI document: 2020.04
6
+ The version of the OpenAPI document: 2020.11
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.3.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## 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)
5
5
 
6
- The version of the OpenAPI document: 2020.04
6
+ The version of the OpenAPI document: 2020.11
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.3.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## 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)
5
5
 
6
- The version of the OpenAPI document: 2020.04
6
+ The version of the OpenAPI document: 2020.11
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.3.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## 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)
5
5
 
6
- The version of the OpenAPI document: 2020.04
6
+ The version of the OpenAPI document: 2020.11
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.3.1
@@ -27,6 +27,9 @@ module DyspatchClient
27
27
  # Base64 encoded template HTML body
28
28
  attr_accessor :html
29
29
 
30
+ # Base64 encoded template AMP body
31
+ attr_accessor :amp_html
32
+
30
33
  # Base64 encoded template text body
31
34
  attr_accessor :text
32
35
 
@@ -37,6 +40,7 @@ module DyspatchClient
37
40
  :'reply_to' => :'replyTo',
38
41
  :'subject' => :'subject',
39
42
  :'html' => :'html',
43
+ :'amp_html' => :'ampHtml',
40
44
  :'text' => :'text'
41
45
  }
42
46
  end
@@ -48,6 +52,7 @@ module DyspatchClient
48
52
  :'reply_to' => :'String',
49
53
  :'subject' => :'String',
50
54
  :'html' => :'String',
55
+ :'amp_html' => :'String',
51
56
  :'text' => :'String'
52
57
  }
53
58
  end
@@ -89,6 +94,10 @@ module DyspatchClient
89
94
  self.html = attributes[:'html']
90
95
  end
91
96
 
97
+ if attributes.key?(:'amp_html')
98
+ self.amp_html = attributes[:'amp_html']
99
+ end
100
+
92
101
  if attributes.key?(:'text')
93
102
  self.text = attributes[:'text']
94
103
  end
@@ -116,6 +125,7 @@ module DyspatchClient
116
125
  reply_to == o.reply_to &&
117
126
  subject == o.subject &&
118
127
  html == o.html &&
128
+ amp_html == o.amp_html &&
119
129
  text == o.text
120
130
  end
121
131
 
@@ -128,7 +138,7 @@ module DyspatchClient
128
138
  # Calculates hash code according to all attributes.
129
139
  # @return [Integer] Hash code
130
140
  def hash
131
- [sender, reply_to, subject, html, text].hash
141
+ [sender, reply_to, subject, html, amp_html, text].hash
132
142
  end
133
143
 
134
144
  # Builds the object from hash
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## 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)
5
5
 
6
- The version of the OpenAPI document: 2020.04
6
+ The version of the OpenAPI document: 2020.11
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.3.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## 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)
5
5
 
6
- The version of the OpenAPI document: 2020.04
6
+ The version of the OpenAPI document: 2020.11
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.3.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## 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)
5
5
 
6
- The version of the OpenAPI document: 2020.04
6
+ The version of the OpenAPI document: 2020.11
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.3.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## 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)
5
5
 
6
- The version of the OpenAPI document: 2020.04
6
+ The version of the OpenAPI document: 2020.11
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.3.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## 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)
5
5
 
6
- The version of the OpenAPI document: 2020.04
6
+ The version of the OpenAPI document: 2020.11
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.3.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## 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)
5
5
 
6
- The version of the OpenAPI document: 2020.04
6
+ The version of the OpenAPI document: 2020.11
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.3.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## 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)
5
5
 
6
- The version of the OpenAPI document: 2020.04
6
+ The version of the OpenAPI document: 2020.11
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.3.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## 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)
5
5
 
6
- The version of the OpenAPI document: 2020.04
6
+ The version of the OpenAPI document: 2020.11
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.3.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## 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)
5
5
 
6
- The version of the OpenAPI document: 2020.04
6
+ The version of the OpenAPI document: 2020.11
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.3.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## 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)
5
5
 
6
- The version of the OpenAPI document: 2020.04
6
+ The version of the OpenAPI document: 2020.11
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.3.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## 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)
5
5
 
6
- The version of the OpenAPI document: 2020.04
6
+ The version of the OpenAPI document: 2020.11
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.3.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## 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)
5
5
 
6
- The version of the OpenAPI document: 2020.04
6
+ The version of the OpenAPI document: 2020.11
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.3.1
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module DyspatchClient
14
- VERSION = '5.0.1'
14
+ VERSION = '6.0.0'
15
15
  end
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## 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)
5
5
 
6
- The version of the OpenAPI document: 2020.04
6
+ The version of the OpenAPI document: 2020.11
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.3.1
@@ -37,7 +37,7 @@ describe 'DraftsApi' do
37
37
  # Deletes the localization with the given language ID if it exists
38
38
  # @param draft_id A draft ID
39
39
  # @param language_id A language ID (eg: en-US)
40
- # @param accept 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\"
40
+ # @param accept A version of the API that should be used for the request. For example, to use version \"2020.11\", set the value to \"application/vnd.dyspatch.2020.11+json\"
41
41
  # @param [Hash] opts the optional parameters
42
42
  # @return [nil]
43
43
  describe 'delete_localization test' do
@@ -51,7 +51,7 @@ describe 'DraftsApi' do
51
51
  # Gets a draft object with the matching ID. The \"compiled\" field will contain the template in the default, unlocalized form.
52
52
  # @param draft_id A draft ID
53
53
  # @param target_language The type of templating language to compile as. Should only be used for visual templates.
54
- # @param accept 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
+ # @param accept A version of the API that should be used for the request. For example, to use version \"2020.11\", set the value to \"application/vnd.dyspatch.2020.11+json\"
55
55
  # @param [Hash] opts the optional parameters
56
56
  # @return [DraftRead]
57
57
  describe 'get_draft_by_id test' do
@@ -62,9 +62,9 @@ describe 'DraftsApi' do
62
62
 
63
63
  # unit tests for get_draft_localization_keys
64
64
  # Get localization keys
65
- # Returns the list of values that need to be translated for the draft. Set the `Accept` header to `application/vnd.dyspatch.2020.04+json` to get a JSON object, or `text/vnd.dyspatch.2020.04+x-gettext-translation` to get the POT file.
65
+ # Returns the list of values that need to be translated for the draft. Set the `Accept` header to `application/vnd.dyspatch.2020.11+json` to get a JSON object, or `text/vnd.dyspatch.2020.11+x-gettext-translation` to get the POT file.
66
66
  # @param draft_id A draft ID
67
- # @param accept 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\"
67
+ # @param accept A version of the API that should be used for the request. For example, to use version \"2020.11\", set the value to \"application/vnd.dyspatch.2020.11+json\"
68
68
  # @param [Hash] opts the optional parameters
69
69
  # @return [Array<LocalizationKeyRead>]
70
70
  describe 'get_draft_localization_keys test' do
@@ -76,7 +76,7 @@ describe 'DraftsApi' do
76
76
  # unit tests for get_drafts
77
77
  # List Drafts
78
78
  # Returns all drafts for your organization.
79
- # @param accept A version of the API that should be used for the request. For example, to use version \&quot;2020.04\&quot;, set the value to \&quot;application/vnd.dyspatch.2020.04+json\&quot;
79
+ # @param accept A version of the API that should be used for the request. For example, to use version \&quot;2020.11\&quot;, set the value to \&quot;application/vnd.dyspatch.2020.11+json\&quot;
80
80
  # @param [Hash] opts the optional parameters
81
81
  # @option opts [String] :cursor A cursor value used to retrieve a specific page from a paginated result set.
82
82
  # @option opts [String] :status Filter the list of drafts by a particular status
@@ -91,7 +91,7 @@ describe 'DraftsApi' do
91
91
  # Get localizations on a draft
92
92
  # Returns localization metadata for the draft
93
93
  # @param draft_id A draft ID
94
- # @param accept A version of the API that should be used for the request. For example, to use version \&quot;2020.04\&quot;, set the value to \&quot;application/vnd.dyspatch.2020.04+json\&quot;
94
+ # @param accept A version of the API that should be used for the request. For example, to use version \&quot;2020.11\&quot;, set the value to \&quot;application/vnd.dyspatch.2020.11+json\&quot;
95
95
  # @param [Hash] opts the optional parameters
96
96
  # @return [Array<LocalizationMetaRead>]
97
97
  describe 'get_localization_for_draft test' do
@@ -105,7 +105,7 @@ describe 'DraftsApi' do
105
105
  # Inserts a localization or sets the name on an existing localization that already uses the languageId
106
106
  # @param draft_id A draft ID
107
107
  # @param language_id A language ID (eg: en-US)
108
- # @param accept A version of the API that should be used for the request. For example, to use version \&quot;2020.04\&quot;, set the value to \&quot;application/vnd.dyspatch.2020.04+json\&quot;
108
+ # @param accept A version of the API that should be used for the request. For example, to use version \&quot;2020.11\&quot;, set the value to \&quot;application/vnd.dyspatch.2020.11+json\&quot;
109
109
  # @param inline_object
110
110
  # @param [Hash] opts the optional parameters
111
111
  # @return [nil]
@@ -120,7 +120,7 @@ describe 'DraftsApi' do
120
120
  # Completely replaces any existing translations for the given language with those provided in request body. Variables embedded in keys or values are expected to be in the format &#x60;%(my_variable)s&#x60; and will automatically convert to the correct Dyspatch format depending on the type of template. Accepts key/value pairs in JSON format or in gettext PO file format. For JSON set &#x60;Content-Type&#x60; header to &#x60;application/json&#x60;. For gettext PO format set &#x60;Content-Type&#x60; header to &#x60;text/x-gettext-translation&#x60;.
121
121
  # @param draft_id A draft ID
122
122
  # @param language_id A language ID (eg: en-US)
123
- # @param accept A version of the API that should be used for the request. For example, to use version \&quot;2020.04\&quot;, set the value to \&quot;application/vnd.dyspatch.2020.04+json\&quot;
123
+ # @param accept A version of the API that should be used for the request. For example, to use version \&quot;2020.11\&quot;, set the value to \&quot;application/vnd.dyspatch.2020.11+json\&quot;
124
124
  # @param request_body
125
125
  # @param [Hash] opts the optional parameters
126
126
  # @return [nil]
@@ -134,7 +134,7 @@ describe 'DraftsApi' do
134
134
  # Submit the draft for approval
135
135
  # Moves the draft into submitted state.
136
136
  # @param draft_id A draft ID
137
- # @param accept A version of the API that should be used for the request. For example, to use version \&quot;2020.04\&quot;, set the value to \&quot;application/vnd.dyspatch.2020.04+json\&quot;
137
+ # @param accept A version of the API that should be used for the request. For example, to use version \&quot;2020.11\&quot;, set the value to \&quot;application/vnd.dyspatch.2020.11+json\&quot;
138
138
  # @param [Hash] opts the optional parameters
139
139
  # @return [nil]
140
140
  describe 'submit_draft_for_approval test' do
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## 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)
5
5
 
6
- The version of the OpenAPI document: 2020.04
6
+ The version of the OpenAPI document: 2020.11
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.3.1
@@ -32,15 +32,30 @@ describe 'LocalizationsApi' do
32
32
  end
33
33
  end
34
34
 
35
- # unit tests for get_localization_by_id
35
+ # unit tests for get_draft_localization_by_id
36
+ # Get Draft Localization Object by ID
37
+ # Returns a specific localization object of the matching draft with a matching localization ID
38
+ # @param draft_id A draft ID
39
+ # @param localization_id A localization ID
40
+ # @param target_language The type of templating language to compile as. Should only be used for visual templates.
41
+ # @param accept A version of the API that should be used for the request. For example, to use version \&quot;2020.11\&quot;, set the value to \&quot;application/vnd.dyspatch.2020.11+json\&quot;
42
+ # @param [Hash] opts the optional parameters
43
+ # @return [LocalizationRead]
44
+ describe 'get_draft_localization_by_id test' do
45
+ it 'should work' do
46
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
47
+ end
48
+ end
49
+
50
+ # unit tests for get_published_localization_by_id
36
51
  # Get Localization Object by ID
37
- # Returns a specific localization object with a matching ID
52
+ # Returns the published content associated with the localization of the matching ID
38
53
  # @param localization_id A localization ID
39
54
  # @param target_language The type of templating language to compile as. Should only be used for visual templates.
40
- # @param accept A version of the API that should be used for the request. For example, to use version \&quot;2020.04\&quot;, set the value to \&quot;application/vnd.dyspatch.2020.04+json\&quot;
55
+ # @param accept A version of the API that should be used for the request. For example, to use version \&quot;2020.11\&quot;, set the value to \&quot;application/vnd.dyspatch.2020.11+json\&quot;
41
56
  # @param [Hash] opts the optional parameters
42
57
  # @return [LocalizationRead]
43
- describe 'get_localization_by_id test' do
58
+ describe 'get_published_localization_by_id test' do
44
59
  it 'should work' do
45
60
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
46
61
  end
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## 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)
5
5
 
6
- The version of the OpenAPI document: 2020.04
6
+ The version of the OpenAPI document: 2020.11
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.3.1
@@ -37,7 +37,7 @@ describe 'TemplatesApi' do
37
37
  # Gets a template object with the matching ID. If the template has published content the \&quot;compiled\&quot; field will contain the template .
38
38
  # @param template_id A template ID
39
39
  # @param target_language The type of templating language to compile as. Should only be used for visual templates.
40
- # @param accept A version of the API that should be used for the request. For example, to use version \&quot;2020.04\&quot;, set the value to \&quot;application/vnd.dyspatch.2020.04+json\&quot;
40
+ # @param accept A version of the API that should be used for the request. For example, to use version \&quot;2020.11\&quot;, set the value to \&quot;application/vnd.dyspatch.2020.11+json\&quot;
41
41
  # @param [Hash] opts the optional parameters
42
42
  # @return [TemplateRead]
43
43
  describe 'get_template_by_id test' do
@@ -49,7 +49,7 @@ describe 'TemplatesApi' do
49
49
  # unit tests for get_templates
50
50
  # List Templates
51
51
  # Gets a list of Template Metadata objects for all templates. Up to 25 results returned before results are paginated.
52
- # @param accept A version of the API that should be used for the request. For example, to use version \&quot;2020.04\&quot;, set the value to \&quot;application/vnd.dyspatch.2020.04+json\&quot;
52
+ # @param accept A version of the API that should be used for the request. For example, to use version \&quot;2020.11\&quot;, set the value to \&quot;application/vnd.dyspatch.2020.11+json\&quot;
53
53
  # @param [Hash] opts the optional parameters
54
54
  # @option opts [String] :cursor A cursor value used to retrieve a specific page from a paginated result set.
55
55
  # @return [TemplatesRead]
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## 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)
5
5
 
6
- The version of the OpenAPI document: 2020.04
6
+ The version of the OpenAPI document: 2020.11
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.3.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## 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)
5
5
 
6
- The version of the OpenAPI document: 2020.04
6
+ The version of the OpenAPI document: 2020.11
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.3.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## 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)
5
5
 
6
- The version of the OpenAPI document: 2020.04
6
+ The version of the OpenAPI document: 2020.11
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.3.1
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dyspatch_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.1
4
+ version: 6.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dyspatch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-08 00:00:00.000000000 Z
11
+ date: 2020-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -34,42 +34,42 @@ dependencies:
34
34
  name: json
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - ">="
38
- - !ruby/object:Gem::Version
39
- version: 2.1.0
40
37
  - - "~>"
41
38
  - !ruby/object:Gem::Version
42
39
  version: '2.1'
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 2.1.0
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - ">="
48
- - !ruby/object:Gem::Version
49
- version: 2.1.0
50
47
  - - "~>"
51
48
  - !ruby/object:Gem::Version
52
49
  version: '2.1'
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: 2.1.0
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: rspec
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
- - - ">="
58
- - !ruby/object:Gem::Version
59
- version: 3.6.0
60
57
  - - "~>"
61
58
  - !ruby/object:Gem::Version
62
59
  version: '3.6'
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: 3.6.0
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - ">="
68
- - !ruby/object:Gem::Version
69
- version: 3.6.0
70
67
  - - "~>"
71
68
  - !ruby/object:Gem::Version
72
69
  version: '3.6'
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ version: 3.6.0
73
73
  description: "# Introduction The Dyspatch API is based on the REST paradigm, and
74
74
  features resource based URLs with standard HTTP response codes to indicate errors.
75
75
  We use standard HTTP authentication and request verbs, and all responses are JSON
@@ -86,7 +86,6 @@ extensions: []
86
86
  extra_rdoc_files: []
87
87
  files:
88
88
  - Gemfile
89
- - LICENSE
90
89
  - README.md
91
90
  - Rakefile
92
91
  - docs/APIError.md
@@ -127,27 +126,11 @@ files:
127
126
  - lib/dyspatch_client/models/template_read.rb
128
127
  - lib/dyspatch_client/models/templates_read.rb
129
128
  - lib/dyspatch_client/version.rb
130
- - pkg/dyspatch_client-5.0.0.gem
131
- - pkg/dyspatch_client-5.0.1.gem
132
129
  - spec/api/drafts_api_spec.rb
133
130
  - spec/api/localizations_api_spec.rb
134
131
  - spec/api/templates_api_spec.rb
135
132
  - spec/api_client_spec.rb
136
133
  - spec/configuration_spec.rb
137
- - spec/integration_spec.rb
138
- - spec/models/api_error_spec.rb
139
- - spec/models/compiled_read_spec.rb
140
- - spec/models/cursor_spec.rb
141
- - spec/models/draft_meta_read_spec.rb
142
- - spec/models/draft_read_spec.rb
143
- - spec/models/drafts_read_spec.rb
144
- - spec/models/inline_object_spec.rb
145
- - spec/models/localization_key_read_spec.rb
146
- - spec/models/localization_meta_read_spec.rb
147
- - spec/models/localization_read_spec.rb
148
- - spec/models/template_meta_read_spec.rb
149
- - spec/models/template_read_spec.rb
150
- - spec/models/templates_read_spec.rb
151
134
  - spec/spec_helper.rb
152
135
  homepage: https://www.dyspatch.io
153
136
  licenses:
@@ -168,7 +151,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
168
151
  - !ruby/object:Gem::Version
169
152
  version: '0'
170
153
  requirements: []
171
- rubygems_version: 3.0.6
154
+ rubyforge_project:
155
+ rubygems_version: 2.5.2.3
172
156
  signing_key:
173
157
  specification_version: 4
174
158
  summary: Dyspatch is an email production platform that helps teams create and change
@@ -179,18 +163,4 @@ test_files:
179
163
  - spec/api/templates_api_spec.rb
180
164
  - spec/api_client_spec.rb
181
165
  - spec/configuration_spec.rb
182
- - spec/integration_spec.rb
183
- - spec/models/cursor_spec.rb
184
- - spec/models/draft_meta_read_spec.rb
185
- - spec/models/api_error_spec.rb
186
- - spec/models/inline_object_spec.rb
187
- - spec/models/template_meta_read_spec.rb
188
- - spec/models/localization_meta_read_spec.rb
189
- - spec/models/draft_read_spec.rb
190
- - spec/models/drafts_read_spec.rb
191
- - spec/models/template_read_spec.rb
192
- - spec/models/compiled_read_spec.rb
193
- - spec/models/templates_read_spec.rb
194
- - spec/models/localization_read_spec.rb
195
- - spec/models/localization_key_read_spec.rb
196
166
  - spec/spec_helper.rb