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.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/docs/DailyActivityApi.md +6 -6
- data/docs/ExercisesApi.md +3 -3
- data/docs/PhysicalInfoApi.md +4 -4
- data/docs/PullNotificationsApi.md +1 -1
- data/docs/TrainingDataApi.md +10 -10
- data/docs/UsersApi.md +3 -3
- data/docs/WebhooksApi.md +4 -4
- data/lib/polar_accesslink/api_client.rb +1 -1
- data/lib/polar_accesslink/models/activity.rb +1 -1
- data/lib/polar_accesslink/models/activity_log.rb +1 -1
- data/lib/polar_accesslink/models/activity_step_sample.rb +1 -1
- data/lib/polar_accesslink/models/activity_step_samples.rb +1 -1
- data/lib/polar_accesslink/models/activity_zone_sample.rb +1 -1
- data/lib/polar_accesslink/models/activity_zone_samples.rb +1 -1
- data/lib/polar_accesslink/models/available_user_data.rb +1 -1
- data/lib/polar_accesslink/models/available_user_datas.rb +1 -1
- data/lib/polar_accesslink/models/created_webhook.rb +1 -1
- data/lib/polar_accesslink/models/created_webhook_data.rb +1 -1
- data/lib/polar_accesslink/models/duration_zone.rb +1 -1
- data/lib/polar_accesslink/models/error.rb +1 -1
- data/lib/polar_accesslink/models/exercise.rb +1 -1
- data/lib/polar_accesslink/models/exercise_hash_id.rb +1 -1
- data/lib/polar_accesslink/models/exercises.rb +1 -1
- data/lib/polar_accesslink/models/heart_rate.rb +1 -1
- data/lib/polar_accesslink/models/physical_information.rb +1 -1
- data/lib/polar_accesslink/models/physical_informations.rb +1 -1
- data/lib/polar_accesslink/models/register.rb +1 -1
- data/lib/polar_accesslink/models/sample.rb +1 -1
- data/lib/polar_accesslink/models/samples.rb +1 -1
- data/lib/polar_accesslink/models/transaction_location.rb +1 -1
- data/lib/polar_accesslink/models/user.rb +1 -1
- data/lib/polar_accesslink/models/user_extra_info.rb +1 -1
- data/lib/polar_accesslink/models/webhook_info.rb +1 -1
- data/lib/polar_accesslink/models/webhook_info_data.rb +1 -1
- data/lib/polar_accesslink/models/webhook_patch.rb +1 -1
- data/lib/polar_accesslink/models/webhook_payload.rb +1 -1
- data/lib/polar_accesslink/models/webhook_ping.rb +1 -1
- data/lib/polar_accesslink/models/webhook_request.rb +1 -1
- data/lib/polar_accesslink/models/zone.rb +1 -1
- data/lib/polar_accesslink/models/zones.rb +1 -1
- data/lib/polar_accesslink.rb +1 -1
- data/polar_accesslink.gemspec +1 -1
- metadata +2 -5
- data/lib/.DS_Store +0 -0
- data/lib/polar_accesslink/.DS_Store +0 -0
- data/polar_accesslink-1.0.0.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6d0001a2253f48457025742a39870462a86b311fcd5344c3aadd6b1a1d74eb5
|
4
|
+
data.tar.gz: f3df20e4406c0ddf5cc4ef784b6ca605335373193b051ea692b118347858b46c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96784c2818143f572c2d35a5602e39d6c67b9c1ee36c67b0fd733d0142cd754f61970781f14f17bff9d6286f4d5dba89be890595509d94e50cac3a54b14a136c
|
7
|
+
data.tar.gz: d00fa76ed45b8dd5ae0b27eb961723a8bc1903706a305106c9940ce2ef01f57fed0fcb7b987400786fc16b8a21121b7343e0cef656dacd868e1a15078f66c749
|
data/Gemfile.lock
CHANGED
data/docs/DailyActivityApi.md
CHANGED
@@ -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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
data/docs/PhysicalInfoApi.md
CHANGED
@@ -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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
25
|
+
PolarAccesslink.configure do |config|
|
26
26
|
# Configure HTTP basic authorization: Basic
|
27
27
|
config.username = 'YOUR USERNAME'
|
28
28
|
config.password = 'YOUR PASSWORD'
|
data/docs/TrainingDataApi.md
CHANGED
@@ -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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
182
|
+
PolarAccesslink.configure do |config|
|
183
183
|
# Configure HTTP basic authorization: Basic
|
184
184
|
config.username = 'YOUR USERNAME'
|
185
185
|
config.password = 'YOUR PASSWORD'
|
data/lib/polar_accesslink.rb
CHANGED
@@ -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
|
-
#
|
66
|
+
# PolarAccesslink.configure do |config|
|
67
67
|
# config.username = "xxx"
|
68
68
|
# config.password = "xxx"
|
69
69
|
# end
|
data/polar_accesslink.gemspec
CHANGED
@@ -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.
|
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.
|
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-
|
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
|
data/polar_accesslink-1.0.0.gem
DELETED
Binary file
|