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.
- checksums.yaml +5 -5
- data/README.md +9 -7
- data/docs/CompiledRead.md +4 -2
- data/docs/DraftsApi.md +21 -21
- data/docs/LocalizationsApi.md +70 -9
- data/docs/TemplatesApi.md +6 -6
- data/dyspatch_client.gemspec +1 -1
- data/lib/dyspatch_client.rb +1 -1
- data/lib/dyspatch_client/api/drafts_api.rb +26 -26
- data/lib/dyspatch_client/api/localizations_api.rb +102 -15
- data/lib/dyspatch_client/api/templates_api.rb +8 -8
- data/lib/dyspatch_client/api_client.rb +1 -1
- data/lib/dyspatch_client/api_error.rb +1 -1
- data/lib/dyspatch_client/configuration.rb +1 -1
- data/lib/dyspatch_client/models/api_error.rb +1 -1
- data/lib/dyspatch_client/models/compiled_read.rb +12 -2
- data/lib/dyspatch_client/models/cursor.rb +1 -1
- data/lib/dyspatch_client/models/draft_meta_read.rb +1 -1
- data/lib/dyspatch_client/models/draft_read.rb +1 -1
- data/lib/dyspatch_client/models/drafts_read.rb +1 -1
- data/lib/dyspatch_client/models/inline_object.rb +1 -1
- data/lib/dyspatch_client/models/localization_key_read.rb +1 -1
- data/lib/dyspatch_client/models/localization_meta_read.rb +1 -1
- data/lib/dyspatch_client/models/localization_read.rb +1 -1
- data/lib/dyspatch_client/models/template_meta_read.rb +1 -1
- data/lib/dyspatch_client/models/template_read.rb +1 -1
- data/lib/dyspatch_client/models/templates_read.rb +1 -1
- data/lib/dyspatch_client/version.rb +2 -2
- data/spec/api/drafts_api_spec.rb +10 -10
- data/spec/api/localizations_api_spec.rb +20 -5
- data/spec/api/templates_api_spec.rb +3 -3
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +16 -46
- data/LICENSE +0 -202
- data/pkg/dyspatch_client-5.0.0.gem +0 -0
- data/pkg/dyspatch_client-5.0.1.gem +0 -0
- data/spec/integration_spec.rb +0 -41
- data/spec/models/api_error_spec.rb +0 -57
- data/spec/models/compiled_read_spec.rb +0 -65
- data/spec/models/cursor_spec.rb +0 -47
- data/spec/models/draft_meta_read_spec.rb +0 -77
- data/spec/models/draft_read_spec.rb +0 -83
- data/spec/models/drafts_read_spec.rb +0 -47
- data/spec/models/inline_object_spec.rb +0 -41
- data/spec/models/localization_key_read_spec.rb +0 -47
- data/spec/models/localization_meta_read_spec.rb +0 -65
- data/spec/models/localization_read_spec.rb +0 -89
- data/spec/models/template_meta_read_spec.rb +0 -77
- data/spec/models/template_read_spec.rb +0 -83
- data/spec/models/templates_read_spec.rb +0 -47
@@ -1,83 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Dyspatch API
|
3
|
-
|
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
|
-
|
6
|
-
The version of the OpenAPI document: 2020.04
|
7
|
-
Contact: support@dyspatch.io
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.2
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for DyspatchClient::TemplateRead
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'TemplateRead' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = DyspatchClient::TemplateRead.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of TemplateRead' do
|
31
|
-
it 'should create an instance of TemplateRead' do
|
32
|
-
expect(@instance).to be_instance_of(DyspatchClient::TemplateRead)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "id"' do
|
36
|
-
it 'should work' do
|
37
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
-
end
|
39
|
-
end
|
40
|
-
|
41
|
-
describe 'test attribute "name"' do
|
42
|
-
it 'should work' do
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
describe 'test attribute "description"' do
|
48
|
-
it 'should work' do
|
49
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
-
end
|
51
|
-
end
|
52
|
-
|
53
|
-
describe 'test attribute "url"' do
|
54
|
-
it 'should work' do
|
55
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
-
end
|
57
|
-
end
|
58
|
-
|
59
|
-
describe 'test attribute "compiled"' do
|
60
|
-
it 'should work' do
|
61
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
-
end
|
63
|
-
end
|
64
|
-
|
65
|
-
describe 'test attribute "created_at"' do
|
66
|
-
it 'should work' do
|
67
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
-
end
|
69
|
-
end
|
70
|
-
|
71
|
-
describe 'test attribute "updated_at"' do
|
72
|
-
it 'should work' do
|
73
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
-
end
|
75
|
-
end
|
76
|
-
|
77
|
-
describe 'test attribute "localizations"' do
|
78
|
-
it 'should work' do
|
79
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
-
end
|
81
|
-
end
|
82
|
-
|
83
|
-
end
|
@@ -1,47 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Dyspatch API
|
3
|
-
|
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
|
-
|
6
|
-
The version of the OpenAPI document: 2020.04
|
7
|
-
Contact: support@dyspatch.io
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.2
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for DyspatchClient::TemplatesRead
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'TemplatesRead' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = DyspatchClient::TemplatesRead.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of TemplatesRead' do
|
31
|
-
it 'should create an instance of TemplatesRead' do
|
32
|
-
expect(@instance).to be_instance_of(DyspatchClient::TemplatesRead)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "cursor"' do
|
36
|
-
it 'should work' do
|
37
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
-
end
|
39
|
-
end
|
40
|
-
|
41
|
-
describe 'test attribute "data"' do
|
42
|
-
it 'should work' do
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
end
|