notifo-io-easierlife 1.0.0 → 1.0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +599 -97
- data/Rakefile +0 -2
- data/docs/AddAllowedTopicDto.md +4 -15
- data/docs/AddContributorDto.md +5 -17
- data/docs/AppContributorDto.md +6 -19
- data/docs/AppDetailsDto.md +19 -45
- data/docs/AppDto.md +9 -25
- data/docs/AppsApi.md +181 -363
- data/docs/Body.md +7 -0
- data/docs/ConfigsApi.md +28 -68
- data/docs/ConfirmMode.md +3 -12
- data/docs/CreateEmailTemplateDto.md +4 -15
- data/docs/EmailTemplateDto.md +6 -19
- data/docs/EmailTemplatesDto.md +6 -0
- data/docs/EmailVerificationStatus.md +3 -12
- data/docs/ErrorDto.md +8 -23
- data/docs/EventDto.md +15 -37
- data/docs/EventProperties.md +6 -0
- data/docs/EventsApi.md +43 -80
- data/docs/IsoDayOfWeek.md +3 -12
- data/docs/ListResponseDtoOfEventDto.md +5 -17
- data/docs/ListResponseDtoOfLogEntryDto.md +5 -17
- data/docs/ListResponseDtoOfMediaDto.md +5 -17
- data/docs/ListResponseDtoOfSubscriptionDto.md +5 -17
- data/docs/ListResponseDtoOfTemplateDto.md +5 -17
- data/docs/ListResponseDtoOfTopicDto.md +5 -17
- data/docs/ListResponseDtoOfUserDto.md +5 -17
- data/docs/LocalizedText.md +6 -0
- data/docs/LogEntryDto.md +7 -21
- data/docs/LogsApi.md +25 -44
- data/docs/MediaApi.md +118 -212
- data/docs/MediaDto.md +10 -27
- data/docs/MediaMetadata.md +6 -0
- data/docs/MediaType.md +3 -12
- data/docs/NotificationFormattingDto.md +11 -29
- data/docs/NotificationSend.md +3 -12
- data/docs/NotificationSettingDto.md +5 -17
- data/docs/ProfileDto.md +11 -29
- data/docs/PublishDto.md +13 -33
- data/docs/PublishManyDto.md +4 -15
- data/docs/ResizeMode.md +3 -12
- data/docs/SchedulingDto.md +7 -21
- data/docs/SchedulingType.md +3 -12
- data/docs/SubscriptionDto.md +5 -17
- data/docs/TemplateDto.md +6 -19
- data/docs/TemplatesApi.md +61 -116
- data/docs/TopicDto.md +6 -19
- data/docs/TopicsApi.md +25 -44
- data/docs/UpdateProfileDto.md +9 -25
- data/docs/UpsertAppDto.md +13 -33
- data/docs/UpsertTemplateDto.md +6 -19
- data/docs/UpsertTemplatesDto.md +4 -15
- data/docs/UpsertUserDto.md +11 -29
- data/docs/UpsertUsersDto.md +4 -15
- data/docs/UserApi.md +84 -176
- data/docs/UserDto.md +13 -33
- data/docs/UsersApi.md +173 -337
- data/git_push.sh +7 -10
- data/lib/swagger_client.rb +93 -0
- data/lib/{notifo → swagger_client}/api/apps_api.rb +131 -203
- data/lib/{notifo → swagger_client}/api/configs_api.rb +15 -31
- data/lib/{notifo → swagger_client}/api/events_api.rb +30 -46
- data/lib/{notifo → swagger_client}/api/logs_api.rb +13 -22
- data/lib/{notifo → swagger_client}/api/media_api.rb +61 -98
- data/lib/{notifo → swagger_client}/api/templates_api.rb +40 -63
- data/lib/{notifo → swagger_client}/api/topics_api.rb +13 -22
- data/lib/{notifo → swagger_client}/api/user_api.rb +52 -89
- data/lib/{notifo → swagger_client}/api/users_api.rb +122 -187
- data/lib/{notifo → swagger_client}/api_client.rb +55 -57
- data/lib/{notifo → swagger_client}/api_error.rb +6 -6
- data/lib/{notifo → swagger_client}/configuration.rb +12 -84
- data/lib/{notifo → swagger_client}/models/add_allowed_topic_dto.rb +16 -47
- data/lib/swagger_client/models/add_contributor_dto.rb +227 -0
- data/lib/swagger_client/models/app_contributor_dto.rb +242 -0
- data/lib/{notifo → swagger_client}/models/app_details_dto.rb +31 -106
- data/lib/{notifo → swagger_client}/models/app_dto.rb +21 -90
- data/lib/swagger_client/models/body.rb +206 -0
- data/lib/swagger_client/models/confirm_mode.rb +29 -0
- data/lib/{notifo → swagger_client}/models/create_email_template_dto.rb +16 -47
- data/lib/swagger_client/models/email_template_dto.rb +237 -0
- data/lib/swagger_client/models/email_templates_dto.rb +201 -0
- data/lib/swagger_client/models/email_verification_status.rb +30 -0
- data/lib/{notifo → swagger_client}/models/error_dto.rb +20 -36
- data/lib/{notifo → swagger_client}/models/event_dto.rb +27 -117
- data/lib/swagger_client/models/event_properties.rb +201 -0
- data/lib/swagger_client/models/iso_day_of_week.rb +34 -0
- data/lib/{notifo/models/list_response_dto_of_subscription_dto.rb → swagger_client/models/list_response_dto_of_event_dto.rb} +18 -30
- data/lib/{notifo → swagger_client}/models/list_response_dto_of_log_entry_dto.rb +17 -29
- data/lib/{notifo → swagger_client}/models/list_response_dto_of_media_dto.rb +17 -29
- data/lib/{notifo/models/list_response_dto_of_event_dto.rb → swagger_client/models/list_response_dto_of_subscription_dto.rb} +18 -30
- data/lib/{notifo → swagger_client}/models/list_response_dto_of_template_dto.rb +17 -29
- data/lib/{notifo → swagger_client}/models/list_response_dto_of_topic_dto.rb +17 -29
- data/lib/{notifo → swagger_client}/models/list_response_dto_of_user_dto.rb +17 -29
- data/lib/swagger_client/models/localized_text.rb +201 -0
- data/lib/{notifo → swagger_client}/models/log_entry_dto.rb +19 -88
- data/lib/{notifo → swagger_client}/models/media_dto.rb +23 -113
- data/lib/swagger_client/models/media_metadata.rb +201 -0
- data/lib/swagger_client/models/media_type.rb +30 -0
- data/lib/{notifo → swagger_client}/models/notification_formatting_dto.rb +30 -56
- data/lib/swagger_client/models/notification_send.rb +30 -0
- data/lib/{notifo → swagger_client}/models/notification_setting_dto.rb +26 -39
- data/lib/{notifo → swagger_client}/models/profile_dto.rb +23 -76
- data/lib/{notifo → swagger_client}/models/publish_dto.rb +26 -63
- data/lib/{notifo → swagger_client}/models/publish_many_dto.rb +16 -28
- data/lib/swagger_client/models/resize_mode.rb +33 -0
- data/lib/{notifo → swagger_client}/models/scheduling_dto.rb +19 -32
- data/lib/swagger_client/models/scheduling_type.rb +28 -0
- data/lib/{notifo → swagger_client}/models/subscription_dto.rb +17 -49
- data/lib/{notifo → swagger_client}/models/template_dto.rb +18 -49
- data/lib/{notifo → swagger_client}/models/topic_dto.rb +18 -68
- data/lib/{notifo → swagger_client}/models/update_profile_dto.rb +21 -39
- data/lib/{notifo → swagger_client}/models/upsert_app_dto.rb +25 -47
- data/lib/{notifo → swagger_client}/models/upsert_template_dto.rb +18 -50
- data/lib/{notifo → swagger_client}/models/upsert_templates_dto.rb +16 -28
- data/lib/{notifo → swagger_client}/models/upsert_user_dto.rb +23 -43
- data/lib/{notifo → swagger_client}/models/upsert_users_dto.rb +16 -28
- data/lib/{notifo → swagger_client}/models/user_dto.rb +25 -80
- data/lib/swagger_client/version.rb +14 -0
- data/spec/api/apps_api_spec.rb +14 -15
- data/spec/api/configs_api_spec.rb +8 -9
- data/spec/api/events_api_spec.rb +9 -10
- data/spec/api/logs_api_spec.rb +8 -9
- data/spec/api/media_api_spec.rb +13 -14
- data/spec/api/templates_api_spec.rb +9 -10
- data/spec/api/topics_api_spec.rb +8 -9
- data/spec/api/user_api_spec.rb +10 -11
- data/spec/api/users_api_spec.rb +11 -12
- data/spec/api_client_spec.rb +34 -35
- data/spec/base_object_spec.rb +109 -0
- data/spec/configuration_spec.rb +7 -8
- data/spec/models/add_allowed_topic_dto_spec.rb +16 -10
- data/spec/models/add_contributor_dto_spec.rb +16 -10
- data/spec/models/app_contributor_dto_spec.rb +16 -10
- data/spec/models/app_details_dto_spec.rb +16 -10
- data/spec/models/app_dto_spec.rb +16 -10
- data/spec/models/body_spec.rb +40 -0
- data/spec/models/confirm_mode_spec.rb +16 -10
- data/spec/models/create_email_template_dto_spec.rb +16 -10
- data/spec/models/email_template_dto_spec.rb +16 -10
- data/spec/models/email_templates_dto_spec.rb +34 -0
- data/spec/models/email_verification_status_spec.rb +16 -10
- data/spec/models/error_dto_spec.rb +16 -10
- data/spec/models/event_dto_spec.rb +16 -10
- data/spec/models/event_properties_spec.rb +34 -0
- data/spec/models/iso_day_of_week_spec.rb +16 -10
- data/spec/models/list_response_dto_of_event_dto_spec.rb +16 -10
- data/spec/models/list_response_dto_of_log_entry_dto_spec.rb +16 -10
- data/spec/models/list_response_dto_of_media_dto_spec.rb +16 -10
- data/spec/models/list_response_dto_of_subscription_dto_spec.rb +16 -10
- data/spec/models/list_response_dto_of_template_dto_spec.rb +16 -10
- data/spec/models/list_response_dto_of_topic_dto_spec.rb +16 -10
- data/spec/models/list_response_dto_of_user_dto_spec.rb +16 -10
- data/spec/models/localized_text_spec.rb +34 -0
- data/spec/models/log_entry_dto_spec.rb +16 -10
- data/spec/models/media_dto_spec.rb +16 -10
- data/spec/models/media_metadata_spec.rb +34 -0
- data/spec/models/media_type_spec.rb +16 -10
- data/spec/models/notification_formatting_dto_spec.rb +16 -10
- data/spec/models/notification_send_spec.rb +16 -10
- data/spec/models/notification_setting_dto_spec.rb +17 -11
- data/spec/models/profile_dto_spec.rb +16 -10
- data/spec/models/publish_dto_spec.rb +16 -10
- data/spec/models/publish_many_dto_spec.rb +16 -10
- data/spec/models/resize_mode_spec.rb +16 -10
- data/spec/models/scheduling_dto_spec.rb +16 -10
- data/spec/models/scheduling_type_spec.rb +16 -10
- data/spec/models/subscription_dto_spec.rb +16 -10
- data/spec/models/template_dto_spec.rb +16 -10
- data/spec/models/topic_dto_spec.rb +16 -10
- data/spec/models/update_profile_dto_spec.rb +16 -10
- data/spec/models/upsert_app_dto_spec.rb +16 -10
- data/spec/models/upsert_template_dto_spec.rb +16 -10
- data/spec/models/upsert_templates_dto_spec.rb +16 -10
- data/spec/models/upsert_user_dto_spec.rb +16 -10
- data/spec/models/upsert_users_dto_spec.rb +16 -10
- data/spec/models/user_dto_spec.rb +16 -10
- data/spec/spec_helper.rb +5 -6
- data/{notifo.gemspec → swagger_client.gemspec} +9 -9
- metadata +101 -60
- data/lib/notifo.rb +0 -89
- data/lib/notifo/models/add_contributor_dto.rb +0 -277
- data/lib/notifo/models/app_contributor_dto.rb +0 -311
- data/lib/notifo/models/confirm_mode.rb +0 -38
- data/lib/notifo/models/email_template_dto.rb +0 -288
- data/lib/notifo/models/email_verification_status.rb +0 -39
- data/lib/notifo/models/iso_day_of_week.rb +0 -43
- data/lib/notifo/models/media_type.rb +0 -39
- data/lib/notifo/models/notification_send.rb +0 -39
- data/lib/notifo/models/resize_mode.rb +0 -42
- data/lib/notifo/models/scheduling_type.rb +0 -37
- data/lib/notifo/version.rb +0 -15
- data/notifo-io-1.0.0.gem +0 -0
@@ -1,28 +1,34 @@
|
|
1
1
|
=begin
|
2
2
|
#Notifo API
|
3
3
|
|
4
|
-
#No description provided (generated by
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.1.0-SNAPSHOT
|
6
|
+
OpenAPI spec version: 1.0.0
|
10
7
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 3.0.24
|
11
10
|
=end
|
12
11
|
|
13
12
|
require 'spec_helper'
|
14
13
|
require 'json'
|
15
14
|
require 'date'
|
16
15
|
|
17
|
-
# Unit tests for
|
18
|
-
# Automatically generated by
|
16
|
+
# Unit tests for SwaggerClient::UpsertUsersDto
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
18
|
# Please update as you see appropriate
|
20
|
-
describe
|
21
|
-
|
19
|
+
describe 'UpsertUsersDto' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = SwaggerClient::UpsertUsersDto.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
22
28
|
|
23
29
|
describe 'test an instance of UpsertUsersDto' do
|
24
30
|
it 'should create an instance of UpsertUsersDto' do
|
25
|
-
expect(instance).to be_instance_of(
|
31
|
+
expect(@instance).to be_instance_of(SwaggerClient::UpsertUsersDto)
|
26
32
|
end
|
27
33
|
end
|
28
34
|
describe 'test attribute "requests"' do
|
@@ -1,28 +1,34 @@
|
|
1
1
|
=begin
|
2
2
|
#Notifo API
|
3
3
|
|
4
|
-
#No description provided (generated by
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.1.0-SNAPSHOT
|
6
|
+
OpenAPI spec version: 1.0.0
|
10
7
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 3.0.24
|
11
10
|
=end
|
12
11
|
|
13
12
|
require 'spec_helper'
|
14
13
|
require 'json'
|
15
14
|
require 'date'
|
16
15
|
|
17
|
-
# Unit tests for
|
18
|
-
# Automatically generated by
|
16
|
+
# Unit tests for SwaggerClient::UserDto
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
18
|
# Please update as you see appropriate
|
20
|
-
describe
|
21
|
-
|
19
|
+
describe 'UserDto' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = SwaggerClient::UserDto.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
22
28
|
|
23
29
|
describe 'test an instance of UserDto' do
|
24
30
|
it 'should create an instance of UserDto' do
|
25
|
-
expect(instance).to be_instance_of(
|
31
|
+
expect(@instance).to be_instance_of(SwaggerClient::UserDto)
|
26
32
|
end
|
27
33
|
end
|
28
34
|
describe 'test attribute "id"' do
|
data/spec/spec_helper.rb
CHANGED
@@ -1,17 +1,16 @@
|
|
1
1
|
=begin
|
2
2
|
#Notifo API
|
3
3
|
|
4
|
-
#No description provided (generated by
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.1.0-SNAPSHOT
|
6
|
+
OpenAPI spec version: 1.0.0
|
10
7
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 3.0.24
|
11
10
|
=end
|
12
11
|
|
13
12
|
# load the gem
|
14
|
-
require '
|
13
|
+
require 'swagger_client'
|
15
14
|
|
16
15
|
# The following was generated by the `rspec --init` command. Conventionally, all
|
17
16
|
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
@@ -3,31 +3,31 @@
|
|
3
3
|
=begin
|
4
4
|
#Notifo API
|
5
5
|
|
6
|
-
#No description provided (generated by
|
6
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
7
7
|
|
8
|
-
|
9
|
-
|
10
|
-
Generated by: https://openapi-generator.tech
|
11
|
-
OpenAPI Generator version: 5.1.0-SNAPSHOT
|
8
|
+
OpenAPI spec version: 1.0.0
|
12
9
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
11
|
+
Swagger Codegen version: 3.0.24
|
13
12
|
=end
|
14
13
|
|
15
14
|
$:.push File.expand_path("../lib", __FILE__)
|
16
|
-
require "
|
15
|
+
require "swagger_client/version"
|
17
16
|
|
18
17
|
Gem::Specification.new do |s|
|
19
18
|
s.name = "notifo-io-easierlife"
|
20
|
-
s.version =
|
19
|
+
s.version = '1.0.1.1'
|
21
20
|
s.platform = Gem::Platform::RUBY
|
22
21
|
s.authors = ["Squidex UG"]
|
23
22
|
s.email = [""]
|
24
23
|
s.homepage = "https://app.notifo.io"
|
25
|
-
s.summary = ""
|
24
|
+
s.summary = "Notifo API Ruby Gem"
|
26
25
|
s.description = "Notifo is a multi-channel notification service for collaboration tools, e-commerce, news, magazines and everybody who wants to notify their users."
|
27
26
|
s.license = "Unlicense"
|
28
|
-
s.required_ruby_version = ">=
|
27
|
+
s.required_ruby_version = ">= 1.9"
|
29
28
|
|
30
29
|
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
30
|
+
s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
|
31
31
|
|
32
32
|
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
33
33
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: notifo-io-easierlife
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Squidex UG
|
@@ -30,6 +30,26 @@ dependencies:
|
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 1.0.1
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: json
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: 2.1.0
|
40
|
+
- - "~>"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '2.1'
|
43
|
+
type: :runtime
|
44
|
+
prerelease: false
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: 2.1.0
|
50
|
+
- - "~>"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '2.1'
|
33
53
|
- !ruby/object:Gem::Dependency
|
34
54
|
name: rspec
|
35
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,13 +87,16 @@ files:
|
|
67
87
|
- docs/AppDetailsDto.md
|
68
88
|
- docs/AppDto.md
|
69
89
|
- docs/AppsApi.md
|
90
|
+
- docs/Body.md
|
70
91
|
- docs/ConfigsApi.md
|
71
92
|
- docs/ConfirmMode.md
|
72
93
|
- docs/CreateEmailTemplateDto.md
|
73
94
|
- docs/EmailTemplateDto.md
|
95
|
+
- docs/EmailTemplatesDto.md
|
74
96
|
- docs/EmailVerificationStatus.md
|
75
97
|
- docs/ErrorDto.md
|
76
98
|
- docs/EventDto.md
|
99
|
+
- docs/EventProperties.md
|
77
100
|
- docs/EventsApi.md
|
78
101
|
- docs/IsoDayOfWeek.md
|
79
102
|
- docs/ListResponseDtoOfEventDto.md
|
@@ -83,10 +106,12 @@ files:
|
|
83
106
|
- docs/ListResponseDtoOfTemplateDto.md
|
84
107
|
- docs/ListResponseDtoOfTopicDto.md
|
85
108
|
- docs/ListResponseDtoOfUserDto.md
|
109
|
+
- docs/LocalizedText.md
|
86
110
|
- docs/LogEntryDto.md
|
87
111
|
- docs/LogsApi.md
|
88
112
|
- docs/MediaApi.md
|
89
113
|
- docs/MediaDto.md
|
114
|
+
- docs/MediaMetadata.md
|
90
115
|
- docs/MediaType.md
|
91
116
|
- docs/NotificationFormattingDto.md
|
92
117
|
- docs/NotificationSend.md
|
@@ -112,63 +137,66 @@ files:
|
|
112
137
|
- docs/UserDto.md
|
113
138
|
- docs/UsersApi.md
|
114
139
|
- git_push.sh
|
115
|
-
- lib/
|
116
|
-
- lib/
|
117
|
-
- lib/
|
118
|
-
- lib/
|
119
|
-
- lib/
|
120
|
-
- lib/
|
121
|
-
- lib/
|
122
|
-
- lib/
|
123
|
-
- lib/
|
124
|
-
- lib/
|
125
|
-
- lib/
|
126
|
-
- lib/
|
127
|
-
- lib/
|
128
|
-
- lib/
|
129
|
-
- lib/
|
130
|
-
- lib/
|
131
|
-
- lib/
|
132
|
-
- lib/
|
133
|
-
- lib/
|
134
|
-
- lib/
|
135
|
-
- lib/
|
136
|
-
- lib/
|
137
|
-
- lib/
|
138
|
-
- lib/
|
139
|
-
- lib/
|
140
|
-
- lib/
|
141
|
-
- lib/
|
142
|
-
- lib/
|
143
|
-
- lib/
|
144
|
-
- lib/
|
145
|
-
- lib/
|
146
|
-
- lib/
|
147
|
-
- lib/
|
148
|
-
- lib/
|
149
|
-
- lib/
|
150
|
-
- lib/
|
151
|
-
- lib/
|
152
|
-
- lib/
|
153
|
-
- lib/
|
154
|
-
- lib/
|
155
|
-
- lib/
|
156
|
-
- lib/
|
157
|
-
- lib/
|
158
|
-
- lib/
|
159
|
-
- lib/
|
160
|
-
- lib/
|
161
|
-
- lib/
|
162
|
-
- lib/
|
163
|
-
- lib/
|
164
|
-
- lib/
|
165
|
-
- lib/
|
166
|
-
- lib/
|
167
|
-
- lib/
|
168
|
-
- lib/
|
169
|
-
- lib/
|
170
|
-
-
|
171
|
-
-
|
140
|
+
- lib/swagger_client.rb
|
141
|
+
- lib/swagger_client/api/apps_api.rb
|
142
|
+
- lib/swagger_client/api/configs_api.rb
|
143
|
+
- lib/swagger_client/api/events_api.rb
|
144
|
+
- lib/swagger_client/api/logs_api.rb
|
145
|
+
- lib/swagger_client/api/media_api.rb
|
146
|
+
- lib/swagger_client/api/templates_api.rb
|
147
|
+
- lib/swagger_client/api/topics_api.rb
|
148
|
+
- lib/swagger_client/api/user_api.rb
|
149
|
+
- lib/swagger_client/api/users_api.rb
|
150
|
+
- lib/swagger_client/api_client.rb
|
151
|
+
- lib/swagger_client/api_error.rb
|
152
|
+
- lib/swagger_client/configuration.rb
|
153
|
+
- lib/swagger_client/models/add_allowed_topic_dto.rb
|
154
|
+
- lib/swagger_client/models/add_contributor_dto.rb
|
155
|
+
- lib/swagger_client/models/app_contributor_dto.rb
|
156
|
+
- lib/swagger_client/models/app_details_dto.rb
|
157
|
+
- lib/swagger_client/models/app_dto.rb
|
158
|
+
- lib/swagger_client/models/body.rb
|
159
|
+
- lib/swagger_client/models/confirm_mode.rb
|
160
|
+
- lib/swagger_client/models/create_email_template_dto.rb
|
161
|
+
- lib/swagger_client/models/email_template_dto.rb
|
162
|
+
- lib/swagger_client/models/email_templates_dto.rb
|
163
|
+
- lib/swagger_client/models/email_verification_status.rb
|
164
|
+
- lib/swagger_client/models/error_dto.rb
|
165
|
+
- lib/swagger_client/models/event_dto.rb
|
166
|
+
- lib/swagger_client/models/event_properties.rb
|
167
|
+
- lib/swagger_client/models/iso_day_of_week.rb
|
168
|
+
- lib/swagger_client/models/list_response_dto_of_event_dto.rb
|
169
|
+
- lib/swagger_client/models/list_response_dto_of_log_entry_dto.rb
|
170
|
+
- lib/swagger_client/models/list_response_dto_of_media_dto.rb
|
171
|
+
- lib/swagger_client/models/list_response_dto_of_subscription_dto.rb
|
172
|
+
- lib/swagger_client/models/list_response_dto_of_template_dto.rb
|
173
|
+
- lib/swagger_client/models/list_response_dto_of_topic_dto.rb
|
174
|
+
- lib/swagger_client/models/list_response_dto_of_user_dto.rb
|
175
|
+
- lib/swagger_client/models/localized_text.rb
|
176
|
+
- lib/swagger_client/models/log_entry_dto.rb
|
177
|
+
- lib/swagger_client/models/media_dto.rb
|
178
|
+
- lib/swagger_client/models/media_metadata.rb
|
179
|
+
- lib/swagger_client/models/media_type.rb
|
180
|
+
- lib/swagger_client/models/notification_formatting_dto.rb
|
181
|
+
- lib/swagger_client/models/notification_send.rb
|
182
|
+
- lib/swagger_client/models/notification_setting_dto.rb
|
183
|
+
- lib/swagger_client/models/profile_dto.rb
|
184
|
+
- lib/swagger_client/models/publish_dto.rb
|
185
|
+
- lib/swagger_client/models/publish_many_dto.rb
|
186
|
+
- lib/swagger_client/models/resize_mode.rb
|
187
|
+
- lib/swagger_client/models/scheduling_dto.rb
|
188
|
+
- lib/swagger_client/models/scheduling_type.rb
|
189
|
+
- lib/swagger_client/models/subscription_dto.rb
|
190
|
+
- lib/swagger_client/models/template_dto.rb
|
191
|
+
- lib/swagger_client/models/topic_dto.rb
|
192
|
+
- lib/swagger_client/models/update_profile_dto.rb
|
193
|
+
- lib/swagger_client/models/upsert_app_dto.rb
|
194
|
+
- lib/swagger_client/models/upsert_template_dto.rb
|
195
|
+
- lib/swagger_client/models/upsert_templates_dto.rb
|
196
|
+
- lib/swagger_client/models/upsert_user_dto.rb
|
197
|
+
- lib/swagger_client/models/upsert_users_dto.rb
|
198
|
+
- lib/swagger_client/models/user_dto.rb
|
199
|
+
- lib/swagger_client/version.rb
|
172
200
|
- spec/api/apps_api_spec.rb
|
173
201
|
- spec/api/configs_api_spec.rb
|
174
202
|
- spec/api/events_api_spec.rb
|
@@ -179,18 +207,22 @@ files:
|
|
179
207
|
- spec/api/user_api_spec.rb
|
180
208
|
- spec/api/users_api_spec.rb
|
181
209
|
- spec/api_client_spec.rb
|
210
|
+
- spec/base_object_spec.rb
|
182
211
|
- spec/configuration_spec.rb
|
183
212
|
- spec/models/add_allowed_topic_dto_spec.rb
|
184
213
|
- spec/models/add_contributor_dto_spec.rb
|
185
214
|
- spec/models/app_contributor_dto_spec.rb
|
186
215
|
- spec/models/app_details_dto_spec.rb
|
187
216
|
- spec/models/app_dto_spec.rb
|
217
|
+
- spec/models/body_spec.rb
|
188
218
|
- spec/models/confirm_mode_spec.rb
|
189
219
|
- spec/models/create_email_template_dto_spec.rb
|
190
220
|
- spec/models/email_template_dto_spec.rb
|
221
|
+
- spec/models/email_templates_dto_spec.rb
|
191
222
|
- spec/models/email_verification_status_spec.rb
|
192
223
|
- spec/models/error_dto_spec.rb
|
193
224
|
- spec/models/event_dto_spec.rb
|
225
|
+
- spec/models/event_properties_spec.rb
|
194
226
|
- spec/models/iso_day_of_week_spec.rb
|
195
227
|
- spec/models/list_response_dto_of_event_dto_spec.rb
|
196
228
|
- spec/models/list_response_dto_of_log_entry_dto_spec.rb
|
@@ -199,8 +231,10 @@ files:
|
|
199
231
|
- spec/models/list_response_dto_of_template_dto_spec.rb
|
200
232
|
- spec/models/list_response_dto_of_topic_dto_spec.rb
|
201
233
|
- spec/models/list_response_dto_of_user_dto_spec.rb
|
234
|
+
- spec/models/localized_text_spec.rb
|
202
235
|
- spec/models/log_entry_dto_spec.rb
|
203
236
|
- spec/models/media_dto_spec.rb
|
237
|
+
- spec/models/media_metadata_spec.rb
|
204
238
|
- spec/models/media_type_spec.rb
|
205
239
|
- spec/models/notification_formatting_dto_spec.rb
|
206
240
|
- spec/models/notification_send_spec.rb
|
@@ -222,6 +256,7 @@ files:
|
|
222
256
|
- spec/models/upsert_users_dto_spec.rb
|
223
257
|
- spec/models/user_dto_spec.rb
|
224
258
|
- spec/spec_helper.rb
|
259
|
+
- swagger_client.gemspec
|
225
260
|
homepage: https://app.notifo.io
|
226
261
|
licenses:
|
227
262
|
- Unlicense
|
@@ -234,7 +269,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
234
269
|
requirements:
|
235
270
|
- - ">="
|
236
271
|
- !ruby/object:Gem::Version
|
237
|
-
version: '
|
272
|
+
version: '1.9'
|
238
273
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
239
274
|
requirements:
|
240
275
|
- - ">="
|
@@ -244,7 +279,7 @@ requirements: []
|
|
244
279
|
rubygems_version: 3.0.9
|
245
280
|
signing_key:
|
246
281
|
specification_version: 4
|
247
|
-
summary:
|
282
|
+
summary: Notifo API Ruby Gem
|
248
283
|
test_files:
|
249
284
|
- spec/api/logs_api_spec.rb
|
250
285
|
- spec/api/media_api_spec.rb
|
@@ -256,6 +291,7 @@ test_files:
|
|
256
291
|
- spec/api/configs_api_spec.rb
|
257
292
|
- spec/api/templates_api_spec.rb
|
258
293
|
- spec/api_client_spec.rb
|
294
|
+
- spec/base_object_spec.rb
|
259
295
|
- spec/configuration_spec.rb
|
260
296
|
- spec/models/user_dto_spec.rb
|
261
297
|
- spec/models/email_template_dto_spec.rb
|
@@ -269,6 +305,7 @@ test_files:
|
|
269
305
|
- spec/models/upsert_templates_dto_spec.rb
|
270
306
|
- spec/models/list_response_dto_of_media_dto_spec.rb
|
271
307
|
- spec/models/list_response_dto_of_subscription_dto_spec.rb
|
308
|
+
- spec/models/event_properties_spec.rb
|
272
309
|
- spec/models/add_contributor_dto_spec.rb
|
273
310
|
- spec/models/update_profile_dto_spec.rb
|
274
311
|
- spec/models/topic_dto_spec.rb
|
@@ -276,8 +313,11 @@ test_files:
|
|
276
313
|
- spec/models/resize_mode_spec.rb
|
277
314
|
- spec/models/scheduling_type_spec.rb
|
278
315
|
- spec/models/log_entry_dto_spec.rb
|
316
|
+
- spec/models/email_templates_dto_spec.rb
|
279
317
|
- spec/models/list_response_dto_of_event_dto_spec.rb
|
280
318
|
- spec/models/app_details_dto_spec.rb
|
319
|
+
- spec/models/media_metadata_spec.rb
|
320
|
+
- spec/models/localized_text_spec.rb
|
281
321
|
- spec/models/list_response_dto_of_log_entry_dto_spec.rb
|
282
322
|
- spec/models/scheduling_dto_spec.rb
|
283
323
|
- spec/models/publish_many_dto_spec.rb
|
@@ -285,6 +325,7 @@ test_files:
|
|
285
325
|
- spec/models/upsert_template_dto_spec.rb
|
286
326
|
- spec/models/confirm_mode_spec.rb
|
287
327
|
- spec/models/media_dto_spec.rb
|
328
|
+
- spec/models/body_spec.rb
|
288
329
|
- spec/models/notification_send_spec.rb
|
289
330
|
- spec/models/notification_setting_dto_spec.rb
|
290
331
|
- spec/models/notification_formatting_dto_spec.rb
|
data/lib/notifo.rb
DELETED
@@ -1,89 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Notifo API
|
3
|
-
|
4
|
-
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 1.0.0
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.1.0-SNAPSHOT
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
# Common files
|
14
|
-
require 'notifo/api_client'
|
15
|
-
require 'notifo/api_error'
|
16
|
-
require 'notifo/version'
|
17
|
-
require 'notifo/configuration'
|
18
|
-
|
19
|
-
# Models
|
20
|
-
require 'notifo/models/add_allowed_topic_dto'
|
21
|
-
require 'notifo/models/add_contributor_dto'
|
22
|
-
require 'notifo/models/app_contributor_dto'
|
23
|
-
require 'notifo/models/app_details_dto'
|
24
|
-
require 'notifo/models/app_dto'
|
25
|
-
require 'notifo/models/confirm_mode'
|
26
|
-
require 'notifo/models/create_email_template_dto'
|
27
|
-
require 'notifo/models/email_template_dto'
|
28
|
-
require 'notifo/models/email_verification_status'
|
29
|
-
require 'notifo/models/error_dto'
|
30
|
-
require 'notifo/models/event_dto'
|
31
|
-
require 'notifo/models/iso_day_of_week'
|
32
|
-
require 'notifo/models/list_response_dto_of_event_dto'
|
33
|
-
require 'notifo/models/list_response_dto_of_log_entry_dto'
|
34
|
-
require 'notifo/models/list_response_dto_of_media_dto'
|
35
|
-
require 'notifo/models/list_response_dto_of_subscription_dto'
|
36
|
-
require 'notifo/models/list_response_dto_of_template_dto'
|
37
|
-
require 'notifo/models/list_response_dto_of_topic_dto'
|
38
|
-
require 'notifo/models/list_response_dto_of_user_dto'
|
39
|
-
require 'notifo/models/log_entry_dto'
|
40
|
-
require 'notifo/models/media_dto'
|
41
|
-
require 'notifo/models/media_type'
|
42
|
-
require 'notifo/models/notification_formatting_dto'
|
43
|
-
require 'notifo/models/notification_send'
|
44
|
-
require 'notifo/models/notification_setting_dto'
|
45
|
-
require 'notifo/models/profile_dto'
|
46
|
-
require 'notifo/models/publish_dto'
|
47
|
-
require 'notifo/models/publish_many_dto'
|
48
|
-
require 'notifo/models/resize_mode'
|
49
|
-
require 'notifo/models/scheduling_dto'
|
50
|
-
require 'notifo/models/scheduling_type'
|
51
|
-
require 'notifo/models/subscription_dto'
|
52
|
-
require 'notifo/models/template_dto'
|
53
|
-
require 'notifo/models/topic_dto'
|
54
|
-
require 'notifo/models/update_profile_dto'
|
55
|
-
require 'notifo/models/upsert_app_dto'
|
56
|
-
require 'notifo/models/upsert_template_dto'
|
57
|
-
require 'notifo/models/upsert_templates_dto'
|
58
|
-
require 'notifo/models/upsert_user_dto'
|
59
|
-
require 'notifo/models/upsert_users_dto'
|
60
|
-
require 'notifo/models/user_dto'
|
61
|
-
|
62
|
-
# APIs
|
63
|
-
require 'notifo/api/apps_api'
|
64
|
-
require 'notifo/api/configs_api'
|
65
|
-
require 'notifo/api/events_api'
|
66
|
-
require 'notifo/api/logs_api'
|
67
|
-
require 'notifo/api/media_api'
|
68
|
-
require 'notifo/api/templates_api'
|
69
|
-
require 'notifo/api/topics_api'
|
70
|
-
require 'notifo/api/user_api'
|
71
|
-
require 'notifo/api/users_api'
|
72
|
-
|
73
|
-
module Notifo
|
74
|
-
class << self
|
75
|
-
# Customize default settings for the SDK using block.
|
76
|
-
# Notifo.configure do |config|
|
77
|
-
# config.username = "xxx"
|
78
|
-
# config.password = "xxx"
|
79
|
-
# end
|
80
|
-
# If no block given, return the default Configuration object.
|
81
|
-
def configure
|
82
|
-
if block_given?
|
83
|
-
yield(Configuration.default)
|
84
|
-
else
|
85
|
-
Configuration.default
|
86
|
-
end
|
87
|
-
end
|
88
|
-
end
|
89
|
-
end
|