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.
@@ -14,34 +14,22 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module Zyphr
17
- class PushPayload
18
- attr_accessor :title
19
-
20
- attr_accessor :body
21
-
22
- attr_accessor :icon
23
-
24
- attr_accessor :image
25
-
26
- attr_accessor :badge
17
+ class SendPushRequestActionButtonsInner
18
+ attr_accessor :id
27
19
 
28
- attr_accessor :sound
20
+ attr_accessor :title
29
21
 
30
- attr_accessor :click_action
22
+ attr_accessor :action
31
23
 
32
- attr_accessor :data
24
+ attr_accessor :deep_link
33
25
 
34
26
  # Attribute mapping from ruby-style variable name to JSON key.
35
27
  def self.attribute_map
36
28
  {
29
+ :'id' => :'id',
37
30
  :'title' => :'title',
38
- :'body' => :'body',
39
- :'icon' => :'icon',
40
- :'image' => :'image',
41
- :'badge' => :'badge',
42
- :'sound' => :'sound',
43
- :'click_action' => :'click_action',
44
- :'data' => :'data'
31
+ :'action' => :'action',
32
+ :'deep_link' => :'deep_link'
45
33
  }
46
34
  end
47
35
 
@@ -58,14 +46,10 @@ module Zyphr
58
46
  # Attribute type mapping.
59
47
  def self.openapi_types
60
48
  {
49
+ :'id' => :'String',
61
50
  :'title' => :'String',
62
- :'body' => :'String',
63
- :'icon' => :'String',
64
- :'image' => :'String',
65
- :'badge' => :'String',
66
- :'sound' => :'String',
67
- :'click_action' => :'String',
68
- :'data' => :'Hash<String, Object>'
51
+ :'action' => :'String',
52
+ :'deep_link' => :'String'
69
53
  }
70
54
  end
71
55
 
@@ -79,54 +63,36 @@ module Zyphr
79
63
  # @param [Hash] attributes Model attributes in the form of hash
80
64
  def initialize(attributes = {})
81
65
  if (!attributes.is_a?(Hash))
82
- fail ArgumentError, "The input argument (attributes) must be a hash in `Zyphr::PushPayload` initialize method"
66
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Zyphr::SendPushRequestActionButtonsInner` initialize method"
83
67
  end
84
68
 
85
69
  # check to see if the attribute exists and convert string to symbol for hash key
86
70
  acceptable_attribute_map = self.class.acceptable_attribute_map
87
71
  attributes = attributes.each_with_object({}) { |(k, v), h|
88
72
  if (!acceptable_attribute_map.key?(k.to_sym))
89
- fail ArgumentError, "`#{k}` is not a valid attribute in `Zyphr::PushPayload`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
73
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Zyphr::SendPushRequestActionButtonsInner`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
90
74
  end
91
75
  h[k.to_sym] = v
92
76
  }
93
77
 
94
- if attributes.key?(:'title')
95
- self.title = attributes[:'title']
78
+ if attributes.key?(:'id')
79
+ self.id = attributes[:'id']
96
80
  else
97
- self.title = nil
81
+ self.id = nil
98
82
  end
99
83
 
100
- if attributes.key?(:'body')
101
- self.body = attributes[:'body']
84
+ if attributes.key?(:'title')
85
+ self.title = attributes[:'title']
102
86
  else
103
- self.body = nil
104
- end
105
-
106
- if attributes.key?(:'icon')
107
- self.icon = attributes[:'icon']
108
- end
109
-
110
- if attributes.key?(:'image')
111
- self.image = attributes[:'image']
112
- end
113
-
114
- if attributes.key?(:'badge')
115
- self.badge = attributes[:'badge']
116
- end
117
-
118
- if attributes.key?(:'sound')
119
- self.sound = attributes[:'sound']
87
+ self.title = nil
120
88
  end
121
89
 
122
- if attributes.key?(:'click_action')
123
- self.click_action = attributes[:'click_action']
90
+ if attributes.key?(:'action')
91
+ self.action = attributes[:'action']
124
92
  end
125
93
 
126
- if attributes.key?(:'data')
127
- if (value = attributes[:'data']).is_a?(Hash)
128
- self.data = value
129
- end
94
+ if attributes.key?(:'deep_link')
95
+ self.deep_link = attributes[:'deep_link']
130
96
  end
131
97
  end
132
98
 
@@ -135,12 +101,24 @@ module Zyphr
135
101
  def list_invalid_properties
136
102
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
137
103
  invalid_properties = Array.new
104
+ if @id.nil?
105
+ invalid_properties.push('invalid value for "id", id cannot be nil.')
106
+ end
107
+
108
+ if @id.to_s.length > 64
109
+ invalid_properties.push('invalid value for "id", the character length must be smaller than or equal to 64.')
110
+ end
111
+
138
112
  if @title.nil?
139
113
  invalid_properties.push('invalid value for "title", title cannot be nil.')
140
114
  end
141
115
 
142
- if @body.nil?
143
- invalid_properties.push('invalid value for "body", body cannot be nil.')
116
+ if @title.to_s.length > 50
117
+ invalid_properties.push('invalid value for "title", the character length must be smaller than or equal to 50.')
118
+ end
119
+
120
+ if !@action.nil? && @action.to_s.length > 100
121
+ invalid_properties.push('invalid value for "action", the character length must be smaller than or equal to 100.')
144
122
  end
145
123
 
146
124
  invalid_properties
@@ -150,11 +128,28 @@ module Zyphr
150
128
  # @return true if the model is valid
151
129
  def valid?
152
130
  warn '[DEPRECATED] the `valid?` method is obsolete'
131
+ return false if @id.nil?
132
+ return false if @id.to_s.length > 64
153
133
  return false if @title.nil?
154
- return false if @body.nil?
134
+ return false if @title.to_s.length > 50
135
+ return false if !@action.nil? && @action.to_s.length > 100
155
136
  true
156
137
  end
157
138
 
139
+ # Custom attribute writer method with validation
140
+ # @param [Object] id Value to be assigned
141
+ def id=(id)
142
+ if id.nil?
143
+ fail ArgumentError, 'id cannot be nil'
144
+ end
145
+
146
+ if id.to_s.length > 64
147
+ fail ArgumentError, 'invalid value for "id", the character length must be smaller than or equal to 64.'
148
+ end
149
+
150
+ @id = id
151
+ end
152
+
158
153
  # Custom attribute writer method with validation
159
154
  # @param [Object] title Value to be assigned
160
155
  def title=(title)
@@ -162,17 +157,25 @@ module Zyphr
162
157
  fail ArgumentError, 'title cannot be nil'
163
158
  end
164
159
 
160
+ if title.to_s.length > 50
161
+ fail ArgumentError, 'invalid value for "title", the character length must be smaller than or equal to 50.'
162
+ end
163
+
165
164
  @title = title
166
165
  end
167
166
 
168
167
  # Custom attribute writer method with validation
169
- # @param [Object] body Value to be assigned
170
- def body=(body)
171
- if body.nil?
172
- fail ArgumentError, 'body cannot be nil'
168
+ # @param [Object] action Value to be assigned
169
+ def action=(action)
170
+ if action.nil?
171
+ fail ArgumentError, 'action cannot be nil'
172
+ end
173
+
174
+ if action.to_s.length > 100
175
+ fail ArgumentError, 'invalid value for "action", the character length must be smaller than or equal to 100.'
173
176
  end
174
177
 
175
- @body = body
178
+ @action = action
176
179
  end
177
180
 
178
181
  # Checks equality by comparing each attribute.
@@ -180,14 +183,10 @@ module Zyphr
180
183
  def ==(o)
181
184
  return true if self.equal?(o)
182
185
  self.class == o.class &&
186
+ id == o.id &&
183
187
  title == o.title &&
184
- body == o.body &&
185
- icon == o.icon &&
186
- image == o.image &&
187
- badge == o.badge &&
188
- sound == o.sound &&
189
- click_action == o.click_action &&
190
- data == o.data
188
+ action == o.action &&
189
+ deep_link == o.deep_link
191
190
  end
192
191
 
193
192
  # @see the `==` method
@@ -199,7 +198,7 @@ module Zyphr
199
198
  # Calculates hash code according to all attributes.
200
199
  # @return [Integer] Hash code
201
200
  def hash
202
- [title, body, icon, image, badge, sound, click_action, data].hash
201
+ [id, title, action, deep_link].hash
203
202
  end
204
203
 
205
204
  # Builds the object from hash
data/lib/zyphr.rb CHANGED
@@ -157,7 +157,7 @@ require 'zyphr/models/push_event'
157
157
  require 'zyphr/models/push_list_response'
158
158
  require 'zyphr/models/push_message'
159
159
  require 'zyphr/models/push_message_detail'
160
- require 'zyphr/models/push_payload'
160
+ require 'zyphr/models/push_message_detail_all_of_action_buttons'
161
161
  require 'zyphr/models/push_stats_data'
162
162
  require 'zyphr/models/push_stats_response'
163
163
  require 'zyphr/models/push_topic_device'
@@ -203,6 +203,7 @@ require 'zyphr/models/send_in_app_meta'
203
203
  require 'zyphr/models/send_in_app_request'
204
204
  require 'zyphr/models/send_in_app_response'
205
205
  require 'zyphr/models/send_push_request'
206
+ require 'zyphr/models/send_push_request_action_buttons_inner'
206
207
  require 'zyphr/models/send_push_response'
207
208
  require 'zyphr/models/send_push_response_data'
208
209
  require 'zyphr/models/send_push_to_topic_data'
@@ -33,7 +33,7 @@ describe Zyphr::Device do
33
33
  end
34
34
  end
35
35
 
36
- describe 'test attribute "subscriber_id"' do
36
+ describe 'test attribute "user_id"' do
37
37
  it 'should work' do
38
38
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
39
  end
@@ -49,41 +49,31 @@ describe Zyphr::Device do
49
49
  end
50
50
  end
51
51
 
52
- describe 'test attribute "app_version"' do
52
+ describe 'test attribute "token"' do
53
53
  it 'should work' do
54
54
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
55
55
  end
56
56
  end
57
57
 
58
- describe 'test attribute "device_model"' do
58
+ describe 'test attribute "metadata"' do
59
59
  it 'should work' do
60
60
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
61
61
  end
62
62
  end
63
63
 
64
- describe 'test attribute "os_version"' do
64
+ describe 'test attribute "last_active_at"' do
65
65
  it 'should work' do
66
66
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
67
67
  end
68
68
  end
69
69
 
70
- describe 'test attribute "status"' do
71
- it 'should work' do
72
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
73
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["active", "inactive"])
74
- # validator.allowable_values.each do |value|
75
- # expect { instance.status = value }.not_to raise_error
76
- # end
77
- end
78
- end
79
-
80
70
  describe 'test attribute "created_at"' do
81
71
  it 'should work' do
82
72
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
83
73
  end
84
74
  end
85
75
 
86
- describe 'test attribute "last_seen_at"' do
76
+ describe 'test attribute "updated_at"' do
87
77
  it 'should work' do
88
78
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
89
79
  end
@@ -39,4 +39,10 @@ describe Zyphr::DeviceStats do
39
39
  end
40
40
  end
41
41
 
42
+ describe 'test attribute "active30_days"' 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
+
42
48
  end
@@ -14,62 +14,38 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for Zyphr::PushPayload
17
+ # Unit tests for Zyphr::PushMessageDetailAllOfActionButtons
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe Zyphr::PushPayload do
21
- let(:instance) { Zyphr::PushPayload.new }
20
+ describe Zyphr::PushMessageDetailAllOfActionButtons do
21
+ let(:instance) { Zyphr::PushMessageDetailAllOfActionButtons.new }
22
22
 
23
- describe 'test an instance of PushPayload' do
24
- it 'should create an instance of PushPayload' do
23
+ describe 'test an instance of PushMessageDetailAllOfActionButtons' do
24
+ it 'should create an instance of PushMessageDetailAllOfActionButtons' do
25
25
  # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(Zyphr::PushPayload)
26
+ #expect(instance).to be_instance_of(Zyphr::PushMessageDetailAllOfActionButtons)
27
27
  end
28
28
  end
29
29
 
30
- describe 'test attribute "title"' 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 "body"' 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 "icon"' do
30
+ describe 'test attribute "id"' do
43
31
  it 'should work' do
44
32
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
33
  end
46
34
  end
47
35
 
48
- describe 'test attribute "image"' 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 "badge"' 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 "sound"' do
36
+ describe 'test attribute "title"' do
61
37
  it 'should work' do
62
38
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
39
  end
64
40
  end
65
41
 
66
- describe 'test attribute "click_action"' do
42
+ describe 'test attribute "action"' do
67
43
  it 'should work' do
68
44
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
45
  end
70
46
  end
71
47
 
72
- describe 'test attribute "data"' do
48
+ describe 'test attribute "deep_link"' do
73
49
  it 'should work' do
74
50
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
75
51
  end
@@ -39,12 +39,22 @@ describe Zyphr::PushMessageDetail do
39
39
  end
40
40
  end
41
41
 
42
- describe 'test attribute "subscriber_id"' do
42
+ describe 'test attribute "user_id"' do
43
43
  it 'should work' do
44
44
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
45
  end
46
46
  end
47
47
 
48
+ describe 'test attribute "platform"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["ios", "android", "web"])
52
+ # validator.allowable_values.each do |value|
53
+ # expect { instance.platform = value }.not_to raise_error
54
+ # end
55
+ end
56
+ end
57
+
48
58
  describe 'test attribute "title"' do
49
59
  it 'should work' do
50
60
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -57,57 +67,53 @@ describe Zyphr::PushMessageDetail do
57
67
  end
58
68
  end
59
69
 
60
- describe 'test attribute "status"' do
70
+ describe 'test attribute "data"' do
61
71
  it 'should work' do
62
72
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["pending", "queued", "sent", "delivered", "failed"])
64
- # validator.allowable_values.each do |value|
65
- # expect { instance.status = value }.not_to raise_error
66
- # end
67
73
  end
68
74
  end
69
75
 
70
- describe 'test attribute "platform"' do
76
+ describe 'test attribute "status"' do
71
77
  it 'should work' do
72
78
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
73
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["ios", "android", "web"])
79
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["queued", "sending", "sent", "delivered", "failed", "expired"])
74
80
  # validator.allowable_values.each do |value|
75
- # expect { instance.platform = value }.not_to raise_error
81
+ # expect { instance.status = value }.not_to raise_error
76
82
  # end
77
83
  end
78
84
  end
79
85
 
80
- describe 'test attribute "created_at"' do
86
+ describe 'test attribute "tags"' do
81
87
  it 'should work' do
82
88
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
83
89
  end
84
90
  end
85
91
 
86
- describe 'test attribute "sent_at"' do
92
+ describe 'test attribute "queued_at"' do
87
93
  it 'should work' do
88
94
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
89
95
  end
90
96
  end
91
97
 
92
- describe 'test attribute "delivered_at"' do
98
+ describe 'test attribute "sent_at"' do
93
99
  it 'should work' do
94
100
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
95
101
  end
96
102
  end
97
103
 
98
- describe 'test attribute "batch_id"' do
104
+ describe 'test attribute "delivered_at"' do
99
105
  it 'should work' do
100
106
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
101
107
  end
102
108
  end
103
109
 
104
- describe 'test attribute "user_id"' do
110
+ describe 'test attribute "created_at"' do
105
111
  it 'should work' do
106
112
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
107
113
  end
108
114
  end
109
115
 
110
- describe 'test attribute "data"' do
116
+ describe 'test attribute "batch_id"' do
111
117
  it 'should work' do
112
118
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
113
119
  end
@@ -131,31 +137,31 @@ describe Zyphr::PushMessageDetail do
131
137
  end
132
138
  end
133
139
 
134
- describe 'test attribute "status_reason"' do
140
+ describe 'test attribute "content_available"' do
135
141
  it 'should work' do
136
142
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
137
143
  end
138
144
  end
139
145
 
140
- describe 'test attribute "provider_message_id"' do
146
+ describe 'test attribute "action_buttons"' do
141
147
  it 'should work' do
142
148
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
143
149
  end
144
150
  end
145
151
 
146
- describe 'test attribute "tags"' do
152
+ describe 'test attribute "status_reason"' do
147
153
  it 'should work' do
148
154
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
149
155
  end
150
156
  end
151
157
 
152
- describe 'test attribute "metadata"' do
158
+ describe 'test attribute "provider_message_id"' do
153
159
  it 'should work' do
154
160
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
155
161
  end
156
162
  end
157
163
 
158
- describe 'test attribute "queued_at"' do
164
+ describe 'test attribute "metadata"' do
159
165
  it 'should work' do
160
166
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
161
167
  end
@@ -39,12 +39,22 @@ describe Zyphr::PushMessage do
39
39
  end
40
40
  end
41
41
 
42
- describe 'test attribute "subscriber_id"' do
42
+ describe 'test attribute "user_id"' do
43
43
  it 'should work' do
44
44
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
45
  end
46
46
  end
47
47
 
48
+ describe 'test attribute "platform"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["ios", "android", "web"])
52
+ # validator.allowable_values.each do |value|
53
+ # expect { instance.platform = value }.not_to raise_error
54
+ # end
55
+ end
56
+ end
57
+
48
58
  describe 'test attribute "title"' do
49
59
  it 'should work' do
50
60
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -57,27 +67,29 @@ describe Zyphr::PushMessage do
57
67
  end
58
68
  end
59
69
 
70
+ describe 'test attribute "data"' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
73
+ end
74
+ end
75
+
60
76
  describe 'test attribute "status"' do
61
77
  it 'should work' do
62
78
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["pending", "queued", "sent", "delivered", "failed"])
79
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["queued", "sending", "sent", "delivered", "failed", "expired"])
64
80
  # validator.allowable_values.each do |value|
65
81
  # expect { instance.status = value }.not_to raise_error
66
82
  # end
67
83
  end
68
84
  end
69
85
 
70
- describe 'test attribute "platform"' do
86
+ describe 'test attribute "tags"' do
71
87
  it 'should work' do
72
88
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
73
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["ios", "android", "web"])
74
- # validator.allowable_values.each do |value|
75
- # expect { instance.platform = value }.not_to raise_error
76
- # end
77
89
  end
78
90
  end
79
91
 
80
- describe 'test attribute "created_at"' do
92
+ describe 'test attribute "queued_at"' do
81
93
  it 'should work' do
82
94
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
83
95
  end
@@ -95,4 +107,10 @@ describe Zyphr::PushMessage do
95
107
  end
96
108
  end
97
109
 
110
+ describe 'test attribute "created_at"' do
111
+ it 'should work' do
112
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
113
+ end
114
+ end
115
+
98
116
  end
@@ -27,13 +27,7 @@ describe Zyphr::RegisterDeviceRequest do
27
27
  end
28
28
  end
29
29
 
30
- describe 'test attribute "subscriber_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 "external_user_id"' do
30
+ describe 'test attribute "user_id"' do
37
31
  it 'should work' do
38
32
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
33
  end
@@ -55,31 +49,7 @@ describe Zyphr::RegisterDeviceRequest do
55
49
  end
56
50
  end
57
51
 
58
- describe 'test attribute "app_version"' do
59
- it 'should work' do
60
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
61
- end
62
- end
63
-
64
- describe 'test attribute "device_model"' do
65
- it 'should work' do
66
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
67
- end
68
- end
69
-
70
- describe 'test attribute "os_version"' do
71
- it 'should work' do
72
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
73
- end
74
- end
75
-
76
- describe 'test attribute "timezone"' do
77
- it 'should work' do
78
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
79
- end
80
- end
81
-
82
- describe 'test attribute "locale"' do
52
+ describe 'test attribute "metadata"' do
83
53
  it 'should work' do
84
54
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
85
55
  end