polar_accesslink 1.0.1 → 1.0.2

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.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/docs/DailyActivityApi.md +6 -6
  4. data/docs/ExercisesApi.md +3 -3
  5. data/docs/PhysicalInfoApi.md +4 -4
  6. data/docs/PullNotificationsApi.md +1 -1
  7. data/docs/TrainingDataApi.md +10 -10
  8. data/docs/UsersApi.md +3 -3
  9. data/docs/WebhooksApi.md +4 -4
  10. data/lib/polar_accesslink/api_client.rb +1 -1
  11. data/lib/polar_accesslink/models/activity.rb +1 -1
  12. data/lib/polar_accesslink/models/activity_log.rb +1 -1
  13. data/lib/polar_accesslink/models/activity_step_sample.rb +1 -1
  14. data/lib/polar_accesslink/models/activity_step_samples.rb +1 -1
  15. data/lib/polar_accesslink/models/activity_zone_sample.rb +1 -1
  16. data/lib/polar_accesslink/models/activity_zone_samples.rb +1 -1
  17. data/lib/polar_accesslink/models/available_user_data.rb +1 -1
  18. data/lib/polar_accesslink/models/available_user_datas.rb +1 -1
  19. data/lib/polar_accesslink/models/created_webhook.rb +1 -1
  20. data/lib/polar_accesslink/models/created_webhook_data.rb +1 -1
  21. data/lib/polar_accesslink/models/duration_zone.rb +1 -1
  22. data/lib/polar_accesslink/models/error.rb +1 -1
  23. data/lib/polar_accesslink/models/exercise.rb +1 -1
  24. data/lib/polar_accesslink/models/exercise_hash_id.rb +1 -1
  25. data/lib/polar_accesslink/models/exercises.rb +1 -1
  26. data/lib/polar_accesslink/models/heart_rate.rb +1 -1
  27. data/lib/polar_accesslink/models/physical_information.rb +1 -1
  28. data/lib/polar_accesslink/models/physical_informations.rb +1 -1
  29. data/lib/polar_accesslink/models/register.rb +1 -1
  30. data/lib/polar_accesslink/models/sample.rb +1 -1
  31. data/lib/polar_accesslink/models/samples.rb +1 -1
  32. data/lib/polar_accesslink/models/transaction_location.rb +1 -1
  33. data/lib/polar_accesslink/models/user.rb +1 -1
  34. data/lib/polar_accesslink/models/user_extra_info.rb +1 -1
  35. data/lib/polar_accesslink/models/webhook_info.rb +1 -1
  36. data/lib/polar_accesslink/models/webhook_info_data.rb +1 -1
  37. data/lib/polar_accesslink/models/webhook_patch.rb +1 -1
  38. data/lib/polar_accesslink/models/webhook_payload.rb +1 -1
  39. data/lib/polar_accesslink/models/webhook_ping.rb +1 -1
  40. data/lib/polar_accesslink/models/webhook_request.rb +1 -1
  41. data/lib/polar_accesslink/models/zone.rb +1 -1
  42. data/lib/polar_accesslink/models/zones.rb +1 -1
  43. data/lib/polar_accesslink.rb +1 -1
  44. data/polar_accesslink.gemspec +1 -1
  45. metadata +2 -5
  46. data/lib/.DS_Store +0 -0
  47. data/lib/polar_accesslink/.DS_Store +0 -0
  48. data/polar_accesslink-1.0.0.gem +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cd6391b6907940b32ade23cfc390b06b37453648b4a18abc0f4cc39b192512f5
4
- data.tar.gz: be6b7449726b285bc4f93af8a348aa5eb7b46d528d6bf62221377159868b8ffc
3
+ metadata.gz: e6d0001a2253f48457025742a39870462a86b311fcd5344c3aadd6b1a1d74eb5
4
+ data.tar.gz: f3df20e4406c0ddf5cc4ef784b6ca605335373193b051ea692b118347858b46c
5
5
  SHA512:
6
- metadata.gz: 2fed0f8cc95b68d86ec50202b197f37b4a1e51415bd7683b7cd38faf9e1ff1091a4b750bf27fa805591e0eba5ca14db93494dc6830b798329308fa2d69bb6e3f
7
- data.tar.gz: 69be02d301db917563a85407cc89e0c4ee553f6e4a76874b888c12de8583539dcbfe877b036bcc6a275b6898134fe17d58a5b22162886a4078e02b36961d1eca
6
+ metadata.gz: 96784c2818143f572c2d35a5602e39d6c67b9c1ee36c67b0fd733d0142cd754f61970781f14f17bff9d6286f4d5dba89be890595509d94e50cac3a54b14a136c
7
+ data.tar.gz: d00fa76ed45b8dd5ae0b27eb961723a8bc1903706a305106c9940ce2ef01f57fed0fcb7b987400786fc16b8a21121b7343e0cef656dacd868e1a15078f66c749
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- polar_accesslink (1.0.1)
4
+ polar_accesslink (1.0.2)
5
5
  json (~> 2.1, >= 2.1.0)
6
6
  typhoeus (~> 1.0, >= 1.0.1)
7
7
 
@@ -27,7 +27,7 @@ After successfully retrieving activity summary data within a transaction, partne
27
27
  # load the gem
28
28
  require 'openapi_client'
29
29
  # setup authorization
30
- OpenapiClient.configure do |config|
30
+ PolarAccesslink.configure do |config|
31
31
  # Configure OAuth2 access token for authorization: OAuth2
32
32
  config.access_token = 'YOUR ACCESS TOKEN'
33
33
  end
@@ -80,7 +80,7 @@ Initiate activity transaction. Check for new activity summaries and create a new
80
80
  # load the gem
81
81
  require 'openapi_client'
82
82
  # setup authorization
83
- OpenapiClient.configure do |config|
83
+ PolarAccesslink.configure do |config|
84
84
  # Configure OAuth2 access token for authorization: OAuth2
85
85
  config.access_token = 'YOUR ACCESS TOKEN'
86
86
  end
@@ -130,7 +130,7 @@ Get activity summary
130
130
  # load the gem
131
131
  require 'openapi_client'
132
132
  # setup authorization
133
- OpenapiClient.configure do |config|
133
+ PolarAccesslink.configure do |config|
134
134
  # Configure OAuth2 access token for authorization: OAuth2
135
135
  config.access_token = 'YOUR ACCESS TOKEN'
136
136
  end
@@ -186,7 +186,7 @@ Get activity step samples. Example data can be seen from [appendix](#activity-st
186
186
  # load the gem
187
187
  require 'openapi_client'
188
188
  # setup authorization
189
- OpenapiClient.configure do |config|
189
+ PolarAccesslink.configure do |config|
190
190
  # Configure OAuth2 access token for authorization: OAuth2
191
191
  config.access_token = 'YOUR ACCESS TOKEN'
192
192
  end
@@ -242,7 +242,7 @@ Get activity zone samples. Example data can be seen from [appendix](#activity-zo
242
242
  # load the gem
243
243
  require 'openapi_client'
244
244
  # setup authorization
245
- OpenapiClient.configure do |config|
245
+ PolarAccesslink.configure do |config|
246
246
  # Configure OAuth2 access token for authorization: OAuth2
247
247
  config.access_token = 'YOUR ACCESS TOKEN'
248
248
  end
@@ -298,7 +298,7 @@ List new activity data. After successfully initiating a transaction, activity su
298
298
  # load the gem
299
299
  require 'openapi_client'
300
300
  # setup authorization
301
- OpenapiClient.configure do |config|
301
+ PolarAccesslink.configure do |config|
302
302
  # Configure OAuth2 access token for authorization: OAuth2
303
303
  config.access_token = 'YOUR ACCESS TOKEN'
304
304
  end
data/docs/ExercisesApi.md CHANGED
@@ -24,7 +24,7 @@ FIT file for users exercise.
24
24
  # load the gem
25
25
  require 'openapi_client'
26
26
  # setup authorization
27
- OpenapiClient.configure do |config|
27
+ PolarAccesslink.configure do |config|
28
28
  # Configure OAuth2 access token for authorization: OAuth2
29
29
  config.access_token = 'YOUR ACCESS TOKEN'
30
30
  end
@@ -76,7 +76,7 @@ Get users exercise using hashed id.
76
76
  # load the gem
77
77
  require 'openapi_client'
78
78
  # setup authorization
79
- OpenapiClient.configure do |config|
79
+ PolarAccesslink.configure do |config|
80
80
  # Configure OAuth2 access token for authorization: OAuth2
81
81
  config.access_token = 'YOUR ACCESS TOKEN'
82
82
  end
@@ -128,7 +128,7 @@ List users exercises available in Accesslink.
128
128
  # load the gem
129
129
  require 'openapi_client'
130
130
  # setup authorization
131
- OpenapiClient.configure do |config|
131
+ PolarAccesslink.configure do |config|
132
132
  # Configure OAuth2 access token for authorization: OAuth2
133
133
  config.access_token = 'YOUR ACCESS TOKEN'
134
134
  end
@@ -25,7 +25,7 @@ After successfully retrieving physical information within a transaction, partner
25
25
  # load the gem
26
26
  require 'openapi_client'
27
27
  # setup authorization
28
- OpenapiClient.configure do |config|
28
+ PolarAccesslink.configure do |config|
29
29
  # Configure OAuth2 access token for authorization: OAuth2
30
30
  config.access_token = 'YOUR ACCESS TOKEN'
31
31
  end
@@ -78,7 +78,7 @@ Initiate physical info transaction. Check for new physical info and create a new
78
78
  # load the gem
79
79
  require 'openapi_client'
80
80
  # setup authorization
81
- OpenapiClient.configure do |config|
81
+ PolarAccesslink.configure do |config|
82
82
  # Configure OAuth2 access token for authorization: OAuth2
83
83
  config.access_token = 'YOUR ACCESS TOKEN'
84
84
  end
@@ -130,7 +130,7 @@ Get physical info entity data
130
130
  # load the gem
131
131
  require 'openapi_client'
132
132
  # setup authorization
133
- OpenapiClient.configure do |config|
133
+ PolarAccesslink.configure do |config|
134
134
  # Configure OAuth2 access token for authorization: OAuth2
135
135
  config.access_token = 'YOUR ACCESS TOKEN'
136
136
  end
@@ -186,7 +186,7 @@ List new physical info data. After successfully initiating a transaction, physic
186
186
  # load the gem
187
187
  require 'openapi_client'
188
188
  # setup authorization
189
- OpenapiClient.configure do |config|
189
+ PolarAccesslink.configure do |config|
190
190
  # Configure OAuth2 access token for authorization: OAuth2
191
191
  config.access_token = 'YOUR ACCESS TOKEN'
192
192
  end
@@ -22,7 +22,7 @@ Get list of available exercises and activities for users
22
22
  # load the gem
23
23
  require 'openapi_client'
24
24
  # setup authorization
25
- OpenapiClient.configure do |config|
25
+ PolarAccesslink.configure do |config|
26
26
  # Configure HTTP basic authorization: Basic
27
27
  config.username = 'YOUR USERNAME'
28
28
  config.password = 'YOUR PASSWORD'
@@ -31,7 +31,7 @@ After successfully retrieving training session data within a transaction, partne
31
31
  # load the gem
32
32
  require 'openapi_client'
33
33
  # setup authorization
34
- OpenapiClient.configure do |config|
34
+ PolarAccesslink.configure do |config|
35
35
  # Configure OAuth2 access token for authorization: OAuth2
36
36
  config.access_token = 'YOUR ACCESS TOKEN'
37
37
  end
@@ -84,7 +84,7 @@ Check for new training data and create a new transaction if found.
84
84
  # load the gem
85
85
  require 'openapi_client'
86
86
  # setup authorization
87
- OpenapiClient.configure do |config|
87
+ PolarAccesslink.configure do |config|
88
88
  # Configure OAuth2 access token for authorization: OAuth2
89
89
  config.access_token = 'YOUR ACCESS TOKEN'
90
90
  end
@@ -136,7 +136,7 @@ Retrieve list of links to available samples in training session
136
136
  # load the gem
137
137
  require 'openapi_client'
138
138
  # setup authorization
139
- OpenapiClient.configure do |config|
139
+ PolarAccesslink.configure do |config|
140
140
  # Configure OAuth2 access token for authorization: OAuth2
141
141
  config.access_token = 'YOUR ACCESS TOKEN'
142
142
  end
@@ -192,7 +192,7 @@ Retrieve training session summary data
192
192
  # load the gem
193
193
  require 'openapi_client'
194
194
  # setup authorization
195
- OpenapiClient.configure do |config|
195
+ PolarAccesslink.configure do |config|
196
196
  # Configure OAuth2 access token for authorization: OAuth2
197
197
  config.access_token = 'YOUR ACCESS TOKEN'
198
198
  end
@@ -248,7 +248,7 @@ Retrieve exercise in FIT format. **Note!** This interface is in beta phase. If t
248
248
  # load the gem
249
249
  require 'openapi_client'
250
250
  # setup authorization
251
- OpenapiClient.configure do |config|
251
+ PolarAccesslink.configure do |config|
252
252
  # Configure OAuth2 access token for authorization: OAuth2
253
253
  config.access_token = 'YOUR ACCESS TOKEN'
254
254
  end
@@ -304,7 +304,7 @@ Retrieve training session summary data in GPX format
304
304
  # load the gem
305
305
  require 'openapi_client'
306
306
  # setup authorization
307
- OpenapiClient.configure do |config|
307
+ PolarAccesslink.configure do |config|
308
308
  # Configure OAuth2 access token for authorization: OAuth2
309
309
  config.access_token = 'YOUR ACCESS TOKEN'
310
310
  end
@@ -360,7 +360,7 @@ Retrieve heart rate zones in training session
360
360
  # load the gem
361
361
  require 'openapi_client'
362
362
  # setup authorization
363
- OpenapiClient.configure do |config|
363
+ PolarAccesslink.configure do |config|
364
364
  # Configure OAuth2 access token for authorization: OAuth2
365
365
  config.access_token = 'YOUR ACCESS TOKEN'
366
366
  end
@@ -416,7 +416,7 @@ Retrieve sample data of given type
416
416
  # load the gem
417
417
  require 'openapi_client'
418
418
  # setup authorization
419
- OpenapiClient.configure do |config|
419
+ PolarAccesslink.configure do |config|
420
420
  # Configure OAuth2 access token for authorization: OAuth2
421
421
  config.access_token = 'YOUR ACCESS TOKEN'
422
422
  end
@@ -474,7 +474,7 @@ Retrieve exercise in TCX format
474
474
  # load the gem
475
475
  require 'openapi_client'
476
476
  # setup authorization
477
- OpenapiClient.configure do |config|
477
+ PolarAccesslink.configure do |config|
478
478
  # Configure OAuth2 access token for authorization: OAuth2
479
479
  config.access_token = 'YOUR ACCESS TOKEN'
480
480
  end
@@ -530,7 +530,7 @@ After successfully initiating a transaction, training sessions included within i
530
530
  # load the gem
531
531
  require 'openapi_client'
532
532
  # setup authorization
533
- OpenapiClient.configure do |config|
533
+ PolarAccesslink.configure do |config|
534
534
  # Configure OAuth2 access token for authorization: OAuth2
535
535
  config.access_token = 'YOUR ACCESS TOKEN'
536
536
  end
data/docs/UsersApi.md CHANGED
@@ -24,7 +24,7 @@ When partner wishes no longer to receive user data, user can be de-registered.Th
24
24
  # load the gem
25
25
  require 'openapi_client'
26
26
  # setup authorization
27
- OpenapiClient.configure do |config|
27
+ PolarAccesslink.configure do |config|
28
28
  # Configure OAuth2 access token for authorization: OAuth2
29
29
  config.access_token = 'YOUR ACCESS TOKEN'
30
30
  end
@@ -75,7 +75,7 @@ List user basic information. Note: Although it is possible to get users weight a
75
75
  # load the gem
76
76
  require 'openapi_client'
77
77
  # setup authorization
78
- OpenapiClient.configure do |config|
78
+ PolarAccesslink.configure do |config|
79
79
  # Configure OAuth2 access token for authorization: OAuth2
80
80
  config.access_token = 'YOUR ACCESS TOKEN'
81
81
  end
@@ -127,7 +127,7 @@ Once partner has been authorized by user, partner must register user before bein
127
127
  # load the gem
128
128
  require 'openapi_client'
129
129
  # setup authorization
130
- OpenapiClient.configure do |config|
130
+ PolarAccesslink.configure do |config|
131
131
  # Configure OAuth2 access token for authorization: OAuth2
132
132
  config.access_token = 'YOUR ACCESS TOKEN'
133
133
  end
data/docs/WebhooksApi.md CHANGED
@@ -25,7 +25,7 @@ Create new webhook. When creating webhook the Accesslink sends a ping message t
25
25
  # load the gem
26
26
  require 'openapi_client'
27
27
  # setup authorization
28
- OpenapiClient.configure do |config|
28
+ PolarAccesslink.configure do |config|
29
29
  # Configure HTTP basic authorization: Basic
30
30
  config.username = 'YOUR USERNAME'
31
31
  config.password = 'YOUR PASSWORD'
@@ -78,7 +78,7 @@ Delete webhook by id.
78
78
  # load the gem
79
79
  require 'openapi_client'
80
80
  # setup authorization
81
- OpenapiClient.configure do |config|
81
+ PolarAccesslink.configure do |config|
82
82
  # Configure HTTP basic authorization: Basic
83
83
  config.username = 'YOUR USERNAME'
84
84
  config.password = 'YOUR PASSWORD'
@@ -130,7 +130,7 @@ Returns created webhook if exists.
130
130
  # load the gem
131
131
  require 'openapi_client'
132
132
  # setup authorization
133
- OpenapiClient.configure do |config|
133
+ PolarAccesslink.configure do |config|
134
134
  # Configure HTTP basic authorization: Basic
135
135
  config.username = 'YOUR USERNAME'
136
136
  config.password = 'YOUR PASSWORD'
@@ -179,7 +179,7 @@ Edit webhook event types and/or url. When updating webhook url the Accesslink s
179
179
  # load the gem
180
180
  require 'openapi_client'
181
181
  # setup authorization
182
- OpenapiClient.configure do |config|
182
+ PolarAccesslink.configure do |config|
183
183
  # Configure HTTP basic authorization: Basic
184
184
  config.username = 'YOUR USERNAME'
185
185
  config.password = 'YOUR PASSWORD'
@@ -237,7 +237,7 @@ module PolarAccesslink
237
237
  end
238
238
  else
239
239
  # models, e.g. Pet
240
- OpenapiClient.const_get(return_type).build_from_hash(data)
240
+ PolarAccesslink.const_get(return_type).build_from_hash(data)
241
241
  end
242
242
  end
243
243
 
@@ -235,7 +235,7 @@ module PolarAccesslink
235
235
  end
236
236
  end
237
237
  else # model
238
- OpenapiClient.const_get(type).build_from_hash(value)
238
+ PolarAccesslink.const_get(type).build_from_hash(value)
239
239
  end
240
240
  end
241
241
 
@@ -157,7 +157,7 @@ module PolarAccesslink
157
157
  end
158
158
  end
159
159
  else # model
160
- OpenapiClient.const_get(type).build_from_hash(value)
160
+ PolarAccesslink.const_get(type).build_from_hash(value)
161
161
  end
162
162
  end
163
163
 
@@ -165,7 +165,7 @@ module PolarAccesslink
165
165
  end
166
166
  end
167
167
  else # model
168
- OpenapiClient.const_get(type).build_from_hash(value)
168
+ PolarAccesslink.const_get(type).build_from_hash(value)
169
169
  end
170
170
  end
171
171
 
@@ -167,7 +167,7 @@ module PolarAccesslink
167
167
  end
168
168
  end
169
169
  else # model
170
- OpenapiClient.const_get(type).build_from_hash(value)
170
+ PolarAccesslink.const_get(type).build_from_hash(value)
171
171
  end
172
172
  end
173
173
 
@@ -167,7 +167,7 @@ module PolarAccesslink
167
167
  end
168
168
  end
169
169
  else # model
170
- OpenapiClient.const_get(type).build_from_hash(value)
170
+ PolarAccesslink.const_get(type).build_from_hash(value)
171
171
  end
172
172
  end
173
173
 
@@ -167,7 +167,7 @@ module PolarAccesslink
167
167
  end
168
168
  end
169
169
  else # model
170
- OpenapiClient.const_get(type).build_from_hash(value)
170
+ PolarAccesslink.const_get(type).build_from_hash(value)
171
171
  end
172
172
  end
173
173
 
@@ -209,7 +209,7 @@ module PolarAccesslink
209
209
  end
210
210
  end
211
211
  else # model
212
- OpenapiClient.const_get(type).build_from_hash(value)
212
+ PolarAccesslink.const_get(type).build_from_hash(value)
213
213
  end
214
214
  end
215
215
 
@@ -157,7 +157,7 @@ module PolarAccesslink
157
157
  end
158
158
  end
159
159
  else # model
160
- OpenapiClient.const_get(type).build_from_hash(value)
160
+ PolarAccesslink.const_get(type).build_from_hash(value)
161
161
  end
162
162
  end
163
163
 
@@ -153,7 +153,7 @@ module PolarAccesslink
153
153
  end
154
154
  end
155
155
  else # model
156
- OpenapiClient.const_get(type).build_from_hash(value)
156
+ PolarAccesslink.const_get(type).build_from_hash(value)
157
157
  end
158
158
  end
159
159
 
@@ -183,7 +183,7 @@ module PolarAccesslink
183
183
  end
184
184
  end
185
185
  else # model
186
- OpenapiClient.const_get(type).build_from_hash(value)
186
+ PolarAccesslink.const_get(type).build_from_hash(value)
187
187
  end
188
188
  end
189
189
 
@@ -165,7 +165,7 @@ module PolarAccesslink
165
165
  end
166
166
  end
167
167
  else # model
168
- OpenapiClient.const_get(type).build_from_hash(value)
168
+ PolarAccesslink.const_get(type).build_from_hash(value)
169
169
  end
170
170
  end
171
171
 
@@ -195,7 +195,7 @@ module PolarAccesslink
195
195
  end
196
196
  end
197
197
  else # model
198
- OpenapiClient.const_get(type).build_from_hash(value)
198
+ PolarAccesslink.const_get(type).build_from_hash(value)
199
199
  end
200
200
  end
201
201
 
@@ -304,7 +304,7 @@ module PolarAccesslink
304
304
  end
305
305
  end
306
306
  else # model
307
- OpenapiClient.const_get(type).build_from_hash(value)
307
+ PolarAccesslink.const_get(type).build_from_hash(value)
308
308
  end
309
309
  end
310
310
 
@@ -294,7 +294,7 @@ module PolarAccesslink
294
294
  end
295
295
  end
296
296
  else # model
297
- OpenapiClient.const_get(type).build_from_hash(value)
297
+ PolarAccesslink.const_get(type).build_from_hash(value)
298
298
  end
299
299
  end
300
300
 
@@ -157,7 +157,7 @@ module PolarAccesslink
157
157
  end
158
158
  end
159
159
  else # model
160
- OpenapiClient.const_get(type).build_from_hash(value)
160
+ PolarAccesslink.const_get(type).build_from_hash(value)
161
161
  end
162
162
  end
163
163
 
@@ -165,7 +165,7 @@ module PolarAccesslink
165
165
  end
166
166
  end
167
167
  else # model
168
- OpenapiClient.const_get(type).build_from_hash(value)
168
+ PolarAccesslink.const_get(type).build_from_hash(value)
169
169
  end
170
170
  end
171
171
 
@@ -299,7 +299,7 @@ module PolarAccesslink
299
299
  end
300
300
  end
301
301
  else # model
302
- OpenapiClient.const_get(type).build_from_hash(value)
302
+ PolarAccesslink.const_get(type).build_from_hash(value)
303
303
  end
304
304
  end
305
305
 
@@ -157,7 +157,7 @@ module PolarAccesslink
157
157
  end
158
158
  end
159
159
  else # model
160
- OpenapiClient.const_get(type).build_from_hash(value)
160
+ PolarAccesslink.const_get(type).build_from_hash(value)
161
161
  end
162
162
  end
163
163
 
@@ -160,7 +160,7 @@ module PolarAccesslink
160
160
  end
161
161
  end
162
162
  else # model
163
- OpenapiClient.const_get(type).build_from_hash(value)
163
+ PolarAccesslink.const_get(type).build_from_hash(value)
164
164
  end
165
165
  end
166
166
 
@@ -175,7 +175,7 @@ module PolarAccesslink
175
175
  end
176
176
  end
177
177
  else # model
178
- OpenapiClient.const_get(type).build_from_hash(value)
178
+ PolarAccesslink.const_get(type).build_from_hash(value)
179
179
  end
180
180
  end
181
181
 
@@ -157,7 +157,7 @@ module PolarAccesslink
157
157
  end
158
158
  end
159
159
  else # model
160
- OpenapiClient.const_get(type).build_from_hash(value)
160
+ PolarAccesslink.const_get(type).build_from_hash(value)
161
161
  end
162
162
  end
163
163
 
@@ -165,7 +165,7 @@ module PolarAccesslink
165
165
  end
166
166
  end
167
167
  else # model
168
- OpenapiClient.const_get(type).build_from_hash(value)
168
+ PolarAccesslink.const_get(type).build_from_hash(value)
169
169
  end
170
170
  end
171
171
 
@@ -281,7 +281,7 @@ module PolarAccesslink
281
281
  end
282
282
  end
283
283
  else # model
284
- OpenapiClient.const_get(type).build_from_hash(value)
284
+ PolarAccesslink.const_get(type).build_from_hash(value)
285
285
  end
286
286
  end
287
287
 
@@ -175,7 +175,7 @@ module PolarAccesslink
175
175
  end
176
176
  end
177
177
  else # model
178
- OpenapiClient.const_get(type).build_from_hash(value)
178
+ PolarAccesslink.const_get(type).build_from_hash(value)
179
179
  end
180
180
  end
181
181
 
@@ -153,7 +153,7 @@ module PolarAccesslink
153
153
  end
154
154
  end
155
155
  else # model
156
- OpenapiClient.const_get(type).build_from_hash(value)
156
+ PolarAccesslink.const_get(type).build_from_hash(value)
157
157
  end
158
158
  end
159
159
 
@@ -173,7 +173,7 @@ module PolarAccesslink
173
173
  end
174
174
  end
175
175
  else # model
176
- OpenapiClient.const_get(type).build_from_hash(value)
176
+ PolarAccesslink.const_get(type).build_from_hash(value)
177
177
  end
178
178
  end
179
179
 
@@ -166,7 +166,7 @@ module PolarAccesslink
166
166
  end
167
167
  end
168
168
  else # model
169
- OpenapiClient.const_get(type).build_from_hash(value)
169
+ PolarAccesslink.const_get(type).build_from_hash(value)
170
170
  end
171
171
  end
172
172
 
@@ -193,7 +193,7 @@ module PolarAccesslink
193
193
  end
194
194
  end
195
195
  else # model
196
- OpenapiClient.const_get(type).build_from_hash(value)
196
+ PolarAccesslink.const_get(type).build_from_hash(value)
197
197
  end
198
198
  end
199
199
 
@@ -199,7 +199,7 @@ module PolarAccesslink
199
199
  end
200
200
  end
201
201
  else # model
202
- OpenapiClient.const_get(type).build_from_hash(value)
202
+ PolarAccesslink.const_get(type).build_from_hash(value)
203
203
  end
204
204
  end
205
205
 
@@ -176,7 +176,7 @@ module PolarAccesslink
176
176
  end
177
177
  end
178
178
  else # model
179
- OpenapiClient.const_get(type).build_from_hash(value)
179
+ PolarAccesslink.const_get(type).build_from_hash(value)
180
180
  end
181
181
  end
182
182
 
@@ -185,7 +185,7 @@ module PolarAccesslink
185
185
  end
186
186
  end
187
187
  else # model
188
- OpenapiClient.const_get(type).build_from_hash(value)
188
+ PolarAccesslink.const_get(type).build_from_hash(value)
189
189
  end
190
190
  end
191
191
 
@@ -157,7 +157,7 @@ module PolarAccesslink
157
157
  end
158
158
  end
159
159
  else # model
160
- OpenapiClient.const_get(type).build_from_hash(value)
160
+ PolarAccesslink.const_get(type).build_from_hash(value)
161
161
  end
162
162
  end
163
163
 
@@ -63,7 +63,7 @@ require 'polar_accesslink/api/webhooks_api'
63
63
  module PolarAccesslink
64
64
  class << self
65
65
  # Customize default settings for the SDK using block.
66
- # OpenapiClient.configure do |config|
66
+ # PolarAccesslink.configure do |config|
67
67
  # config.username = "xxx"
68
68
  # config.password = "xxx"
69
69
  # end
@@ -16,7 +16,7 @@ $:.push File.expand_path("../lib", __FILE__)
16
16
 
17
17
  Gem::Specification.new do |s|
18
18
  s.name = "polar_accesslink"
19
- s.version = "1.0.1"
19
+ s.version = "1.0.2"
20
20
  s.platform = Gem::Platform::RUBY
21
21
  s.authors = ["OpenAPI-Generator"]
22
22
  s.email = ["b2bhelpdesk@polar.com"]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polar_accesslink
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-28 00:00:00.000000000 Z
11
+ date: 2020-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -121,9 +121,7 @@ files:
121
121
  - docs/WebhooksApi.md
122
122
  - docs/Zone.md
123
123
  - docs/Zones.md
124
- - lib/.DS_Store
125
124
  - lib/polar_accesslink.rb
126
- - lib/polar_accesslink/.DS_Store
127
125
  - lib/polar_accesslink/api/daily_activity_api.rb
128
126
  - lib/polar_accesslink/api/exercises_api.rb
129
127
  - lib/polar_accesslink/api/physical_info_api.rb
@@ -168,7 +166,6 @@ files:
168
166
  - lib/polar_accesslink/models/zone.rb
169
167
  - lib/polar_accesslink/models/zones.rb
170
168
  - lib/polar_accesslink/version.rb
171
- - polar_accesslink-1.0.0.gem
172
169
  - polar_accesslink.gemspec
173
170
  - spec/api/daily_activity_api_spec.rb
174
171
  - spec/api/exercises_api_spec.rb
data/lib/.DS_Store DELETED
Binary file
Binary file
Binary file