moonlogs-ruby 0.6.0 → 0.7.0
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/README.md +150 -145
- data/docs/ApiTokenRequest.md +7 -0
- data/docs/ApiTokenResponse.md +10 -0
- data/docs/DefaultApi.md +276 -276
- data/docs/InlineResponse200.md +1 -1
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse20010.md +1 -1
- data/docs/InlineResponse20012.md +1 -1
- data/docs/InlineResponse20013.md +1 -1
- data/docs/InlineResponse2005.md +1 -1
- data/docs/InlineResponse2006.md +1 -1
- data/docs/InlineResponse2009.md +1 -1
- data/docs/OneOfUserRequestRole.md +6 -0
- data/docs/OneOfUserResponseRole.md +6 -0
- data/docs/SchemaRequest.md +14 -0
- data/docs/SchemaResponse.md +14 -0
- data/docs/TagRequest.md +7 -0
- data/docs/TagResponse.md +8 -0
- data/docs/UserRequest.md +14 -0
- data/docs/UserResponse.md +15 -0
- data/lib/moonlogs-ruby/api/default_api.rb +384 -384
- data/lib/moonlogs-ruby/api_client.rb +1 -1
- data/lib/moonlogs-ruby/api_error.rb +1 -1
- data/lib/moonlogs-ruby/configuration.rb +1 -1
- data/lib/moonlogs-ruby/models/api_token.rb +1 -1
- data/lib/moonlogs-ruby/models/api_token_request.rb +211 -0
- data/lib/moonlogs-ruby/models/api_token_response.rb +253 -0
- data/lib/moonlogs-ruby/models/credentials.rb +1 -1
- data/lib/moonlogs-ruby/models/inline_response_200.rb +1 -1
- data/lib/moonlogs-ruby/models/inline_response_200_1.rb +1 -1
- data/lib/moonlogs-ruby/models/inline_response_200_10.rb +1 -1
- data/lib/moonlogs-ruby/models/inline_response_200_11.rb +1 -1
- data/lib/moonlogs-ruby/models/inline_response_200_12.rb +1 -1
- data/lib/moonlogs-ruby/models/inline_response_200_13.rb +1 -1
- data/lib/moonlogs-ruby/models/inline_response_200_2.rb +1 -1
- data/lib/moonlogs-ruby/models/inline_response_200_3.rb +1 -1
- data/lib/moonlogs-ruby/models/inline_response_200_4.rb +1 -1
- data/lib/moonlogs-ruby/models/inline_response_200_5.rb +1 -1
- data/lib/moonlogs-ruby/models/inline_response_200_6.rb +1 -1
- data/lib/moonlogs-ruby/models/inline_response_200_7.rb +1 -1
- data/lib/moonlogs-ruby/models/inline_response_200_8.rb +1 -1
- data/lib/moonlogs-ruby/models/inline_response_200_9.rb +1 -1
- data/lib/moonlogs-ruby/models/level.rb +1 -1
- data/lib/moonlogs-ruby/models/meta.rb +1 -1
- data/lib/moonlogs-ruby/models/one_of_record_request_level.rb +1 -1
- data/lib/moonlogs-ruby/models/one_of_record_response_level.rb +1 -1
- data/lib/moonlogs-ruby/models/one_of_user_request_role.rb +197 -0
- data/lib/moonlogs-ruby/models/one_of_user_response_role.rb +197 -0
- data/lib/moonlogs-ruby/models/record_request.rb +1 -1
- data/lib/moonlogs-ruby/models/record_response.rb +1 -1
- data/lib/moonlogs-ruby/models/role.rb +1 -1
- data/lib/moonlogs-ruby/models/schema_field.rb +1 -1
- data/lib/moonlogs-ruby/models/schema_kind.rb +1 -1
- data/lib/moonlogs-ruby/models/schema_request.rb +293 -0
- data/lib/moonlogs-ruby/models/schema_response.rb +298 -0
- data/lib/moonlogs-ruby/models/session.rb +1 -1
- data/lib/moonlogs-ruby/models/tag.rb +1 -1
- data/lib/moonlogs-ruby/models/tag_request.rb +211 -0
- data/lib/moonlogs-ruby/models/tag_response.rb +225 -0
- data/lib/moonlogs-ruby/models/user_request.rb +291 -0
- data/lib/moonlogs-ruby/models/user_response.rb +315 -0
- data/lib/moonlogs-ruby/version.rb +2 -2
- data/lib/moonlogs-ruby.rb +11 -6
- data/moonlogs-ruby.gemspec +1 -1
- data/spec/models/api_token_request_spec.rb +40 -0
- data/spec/models/api_token_response_spec.rb +58 -0
- data/spec/models/one_of_user_request_role_spec.rb +34 -0
- data/spec/models/one_of_user_response_role_spec.rb +34 -0
- data/spec/models/schema_request_spec.rb +76 -0
- data/spec/models/schema_response_spec.rb +82 -0
- data/spec/models/tag_request_spec.rb +40 -0
- data/spec/models/tag_response_spec.rb +46 -0
- data/spec/models/user_request_spec.rb +82 -0
- data/spec/models/user_response_spec.rb +88 -0
- metadata +42 -2
@@ -0,0 +1,40 @@
|
|
1
|
+
=begin
|
2
|
+
#Moonlogs
|
3
|
+
|
4
|
+
#Moonlogs API
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.7.0
|
7
|
+
Contact: shalpack@gmail.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 3.0.52
|
10
|
+
=end
|
11
|
+
|
12
|
+
require 'spec_helper'
|
13
|
+
require 'json'
|
14
|
+
require 'date'
|
15
|
+
|
16
|
+
# Unit tests for MoonlogsRuby::ApiTokenRequest
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'ApiTokenRequest' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = MoonlogsRuby::ApiTokenRequest.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of ApiTokenRequest' do
|
30
|
+
it 'should create an instance of ApiTokenRequest' do
|
31
|
+
expect(@instance).to be_instance_of(MoonlogsRuby::ApiTokenRequest)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
describe 'test attribute "name"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
=begin
|
2
|
+
#Moonlogs
|
3
|
+
|
4
|
+
#Moonlogs API
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.7.0
|
7
|
+
Contact: shalpack@gmail.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 3.0.52
|
10
|
+
=end
|
11
|
+
|
12
|
+
require 'spec_helper'
|
13
|
+
require 'json'
|
14
|
+
require 'date'
|
15
|
+
|
16
|
+
# Unit tests for MoonlogsRuby::ApiTokenResponse
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'ApiTokenResponse' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = MoonlogsRuby::ApiTokenResponse.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of ApiTokenResponse' do
|
30
|
+
it 'should create an instance of ApiTokenResponse' do
|
31
|
+
expect(@instance).to be_instance_of(MoonlogsRuby::ApiTokenResponse)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
describe 'test attribute "id"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "token"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test attribute "name"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "is_revoked"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
=begin
|
2
|
+
#Moonlogs
|
3
|
+
|
4
|
+
#Moonlogs API
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.6.1
|
7
|
+
Contact: shalpack@gmail.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 3.0.52
|
10
|
+
=end
|
11
|
+
|
12
|
+
require 'spec_helper'
|
13
|
+
require 'json'
|
14
|
+
require 'date'
|
15
|
+
|
16
|
+
# Unit tests for MoonlogsRuby::OneOfUserRequestRole
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'OneOfUserRequestRole' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = MoonlogsRuby::OneOfUserRequestRole.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of OneOfUserRequestRole' do
|
30
|
+
it 'should create an instance of OneOfUserRequestRole' do
|
31
|
+
expect(@instance).to be_instance_of(MoonlogsRuby::OneOfUserRequestRole)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
=begin
|
2
|
+
#Moonlogs
|
3
|
+
|
4
|
+
#Moonlogs API
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.6.1
|
7
|
+
Contact: shalpack@gmail.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 3.0.52
|
10
|
+
=end
|
11
|
+
|
12
|
+
require 'spec_helper'
|
13
|
+
require 'json'
|
14
|
+
require 'date'
|
15
|
+
|
16
|
+
# Unit tests for MoonlogsRuby::OneOfUserResponseRole
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'OneOfUserResponseRole' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = MoonlogsRuby::OneOfUserResponseRole.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of OneOfUserResponseRole' do
|
30
|
+
it 'should create an instance of OneOfUserResponseRole' do
|
31
|
+
expect(@instance).to be_instance_of(MoonlogsRuby::OneOfUserResponseRole)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
@@ -0,0 +1,76 @@
|
|
1
|
+
=begin
|
2
|
+
#Moonlogs
|
3
|
+
|
4
|
+
#Moonlogs API
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.6.1
|
7
|
+
Contact: shalpack@gmail.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 3.0.52
|
10
|
+
=end
|
11
|
+
|
12
|
+
require 'spec_helper'
|
13
|
+
require 'json'
|
14
|
+
require 'date'
|
15
|
+
|
16
|
+
# Unit tests for MoonlogsRuby::SchemaRequest
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'SchemaRequest' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = MoonlogsRuby::SchemaRequest.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of SchemaRequest' do
|
30
|
+
it 'should create an instance of SchemaRequest' do
|
31
|
+
expect(@instance).to be_instance_of(MoonlogsRuby::SchemaRequest)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
describe 'test attribute "title"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "description"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test attribute "name"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "fields"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe 'test attribute "kinds"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "tag_id"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
describe 'test attribute "retention_days"' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
end
|
@@ -0,0 +1,82 @@
|
|
1
|
+
=begin
|
2
|
+
#Moonlogs
|
3
|
+
|
4
|
+
#Moonlogs API
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.6.1
|
7
|
+
Contact: shalpack@gmail.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 3.0.52
|
10
|
+
=end
|
11
|
+
|
12
|
+
require 'spec_helper'
|
13
|
+
require 'json'
|
14
|
+
require 'date'
|
15
|
+
|
16
|
+
# Unit tests for MoonlogsRuby::SchemaResponse
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'SchemaResponse' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = MoonlogsRuby::SchemaResponse.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of SchemaResponse' do
|
30
|
+
it 'should create an instance of SchemaResponse' do
|
31
|
+
expect(@instance).to be_instance_of(MoonlogsRuby::SchemaResponse)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
describe 'test attribute "id"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "title"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test attribute "description"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "name"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe 'test attribute "fields"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "kinds"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
describe 'test attribute "tag_id"' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
describe 'test attribute "retention_days"' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
=begin
|
2
|
+
#Moonlogs
|
3
|
+
|
4
|
+
#Moonlogs API
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.7.0
|
7
|
+
Contact: shalpack@gmail.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 3.0.52
|
10
|
+
=end
|
11
|
+
|
12
|
+
require 'spec_helper'
|
13
|
+
require 'json'
|
14
|
+
require 'date'
|
15
|
+
|
16
|
+
# Unit tests for MoonlogsRuby::TagRequest
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'TagRequest' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = MoonlogsRuby::TagRequest.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of TagRequest' do
|
30
|
+
it 'should create an instance of TagRequest' do
|
31
|
+
expect(@instance).to be_instance_of(MoonlogsRuby::TagRequest)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
describe 'test attribute "name"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
end
|
@@ -0,0 +1,46 @@
|
|
1
|
+
=begin
|
2
|
+
#Moonlogs
|
3
|
+
|
4
|
+
#Moonlogs API
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.7.0
|
7
|
+
Contact: shalpack@gmail.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 3.0.52
|
10
|
+
=end
|
11
|
+
|
12
|
+
require 'spec_helper'
|
13
|
+
require 'json'
|
14
|
+
require 'date'
|
15
|
+
|
16
|
+
# Unit tests for MoonlogsRuby::TagResponse
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'TagResponse' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = MoonlogsRuby::TagResponse.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of TagResponse' do
|
30
|
+
it 'should create an instance of TagResponse' do
|
31
|
+
expect(@instance).to be_instance_of(MoonlogsRuby::TagResponse)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
describe 'test attribute "id"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "name"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
end
|
@@ -0,0 +1,82 @@
|
|
1
|
+
=begin
|
2
|
+
#Moonlogs
|
3
|
+
|
4
|
+
#Moonlogs API
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.6.1
|
7
|
+
Contact: shalpack@gmail.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 3.0.52
|
10
|
+
=end
|
11
|
+
|
12
|
+
require 'spec_helper'
|
13
|
+
require 'json'
|
14
|
+
require 'date'
|
15
|
+
|
16
|
+
# Unit tests for MoonlogsRuby::UserRequest
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'UserRequest' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = MoonlogsRuby::UserRequest.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of UserRequest' do
|
30
|
+
it 'should create an instance of UserRequest' do
|
31
|
+
expect(@instance).to be_instance_of(MoonlogsRuby::UserRequest)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
describe 'test attribute "name"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "email"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test attribute "password"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "password_digest"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe 'test attribute "role"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "tags"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
describe 'test attribute "token"' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
describe 'test attribute "is_revoked"' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
end
|
@@ -0,0 +1,88 @@
|
|
1
|
+
=begin
|
2
|
+
#Moonlogs
|
3
|
+
|
4
|
+
#Moonlogs API
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.6.1
|
7
|
+
Contact: shalpack@gmail.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 3.0.52
|
10
|
+
=end
|
11
|
+
|
12
|
+
require 'spec_helper'
|
13
|
+
require 'json'
|
14
|
+
require 'date'
|
15
|
+
|
16
|
+
# Unit tests for MoonlogsRuby::UserResponse
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'UserResponse' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = MoonlogsRuby::UserResponse.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of UserResponse' do
|
30
|
+
it 'should create an instance of UserResponse' do
|
31
|
+
expect(@instance).to be_instance_of(MoonlogsRuby::UserResponse)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
describe 'test attribute "id"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "name"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test attribute "email"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "password"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe 'test attribute "password_digest"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "role"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
describe 'test attribute "tags"' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
describe 'test attribute "token"' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
describe 'test attribute "is_revoked"' do
|
83
|
+
it 'should work' do
|
84
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
end
|