zyphr 0.1.4 → 0.1.8

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.
@@ -0,0 +1,54 @@
1
+ =begin
2
+ #Zyphr API
3
+
4
+ #Zyphr is a multi-channel notification platform that enables developers to send emails, push notifications, SMS, and in-app messages through a unified API. ## Authentication All API requests require authentication using an API key. Include your API key in the `X-API-Key` header: ``` X-API-Key: zy_live_xxxxxxxxxxxx ``` API keys can be created in the Zyphr Dashboard. Use `zy_test_*` keys for testing and `zy_live_*` keys for production. ## Rate Limiting The API implements rate limiting to ensure fair usage. Rate limit information is included in response headers: - `X-RateLimit-Limit`: Maximum requests per window - `X-RateLimit-Remaining`: Remaining requests in current window - `X-RateLimit-Reset`: Unix timestamp when the window resets ## Errors All errors follow a consistent format: ```json { \"error\": { \"code\": \"error_code\", \"message\": \"Human readable message\", \"details\": {} }, \"meta\": { \"request_id\": \"req_xxxx\" } } ```
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: support@zyphr.dev
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.12.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Zyphr::SendPushRequestActionButtonsInner
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Zyphr::SendPushRequestActionButtonsInner do
21
+ let(:instance) { Zyphr::SendPushRequestActionButtonsInner.new }
22
+
23
+ describe 'test an instance of SendPushRequestActionButtonsInner' do
24
+ it 'should create an instance of SendPushRequestActionButtonsInner' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Zyphr::SendPushRequestActionButtonsInner)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "id"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "title"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "action"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ describe 'test attribute "deep_link"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ end
52
+ end
53
+
54
+ end
@@ -27,47 +27,73 @@ describe Zyphr::SendPushRequest do
27
27
  end
28
28
  end
29
29
 
30
+ describe 'test attribute "user_id"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
30
36
  describe 'test attribute "device_id"' do
31
37
  it 'should work' do
32
38
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
39
  end
34
40
  end
35
41
 
36
- describe 'test attribute "device_ids"' do
42
+ describe 'test attribute "title"' do
37
43
  it 'should work' do
38
44
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
45
  end
40
46
  end
41
47
 
42
- describe 'test attribute "subscriber_id"' do
48
+ describe 'test attribute "body"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ end
52
+ end
53
+
54
+ describe 'test attribute "data"' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
+ end
58
+ end
59
+
60
+ describe 'test attribute "badge"' do
61
+ it 'should work' do
62
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
+ end
64
+ end
65
+
66
+ describe 'test attribute "sound"' do
67
+ it 'should work' do
68
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
+ end
70
+ end
71
+
72
+ describe 'test attribute "image_url"' do
43
73
  it 'should work' do
44
74
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
75
  end
46
76
  end
47
77
 
48
- describe 'test attribute "topic"' do
78
+ describe 'test attribute "content_available"' do
49
79
  it 'should work' do
50
80
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
81
  end
52
82
  end
53
83
 
54
- describe 'test attribute "payload"' do
84
+ describe 'test attribute "action_buttons"' do
55
85
  it 'should work' do
56
86
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
87
  end
58
88
  end
59
89
 
60
- describe 'test attribute "priority"' do
90
+ describe 'test attribute "tags"' do
61
91
  it 'should work' do
62
92
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["low", "normal", "high", "urgent"])
64
- # validator.allowable_values.each do |value|
65
- # expect { instance.priority = value }.not_to raise_error
66
- # end
67
93
  end
68
94
  end
69
95
 
70
- describe 'test attribute "ttl"' do
96
+ describe 'test attribute "metadata"' do
71
97
  it 'should work' do
72
98
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
73
99
  end
@@ -79,7 +105,37 @@ describe Zyphr::SendPushRequest do
79
105
  end
80
106
  end
81
107
 
82
- describe 'test attribute "scheduled_at"' do
108
+ describe 'test attribute "subscriber_id"' do
109
+ it 'should work' do
110
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
111
+ end
112
+ end
113
+
114
+ describe 'test attribute "subscriber_external_id"' do
115
+ it 'should work' do
116
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
117
+ end
118
+ end
119
+
120
+ describe 'test attribute "category"' do
121
+ it 'should work' do
122
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
123
+ end
124
+ end
125
+
126
+ describe 'test attribute "force"' do
127
+ it 'should work' do
128
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
129
+ end
130
+ end
131
+
132
+ describe 'test attribute "send_at"' do
133
+ it 'should work' do
134
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
135
+ end
136
+ end
137
+
138
+ describe 'test attribute "delay"' do
83
139
  it 'should work' do
84
140
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
85
141
  end
data/zyphr.gemspec CHANGED
@@ -17,7 +17,7 @@ require "zyphr/version"
17
17
 
18
18
  Gem::Specification.new do |s|
19
19
  s.name = "zyphr"
20
- s.version = '0.1.4'
20
+ s.version = '0.1.8'
21
21
  s.platform = Gem::Platform::RUBY
22
22
  s.authors = ["Zyphr"]
23
23
  s.email = ["support@zyphr.dev"]