Module: PolarAccesslinkApiGem
- Defined in:
- lib/polar-accesslink-api-gem/version.rb,
lib/polar-accesslink-api-gem.rb,
lib/polar-accesslink-api-gem/api_error.rb,
lib/polar-accesslink-api-gem/api_client.rb,
lib/polar-accesslink-api-gem/models/user.rb,
lib/polar-accesslink-api-gem/models/zone.rb,
lib/polar-accesslink-api-gem/models/error.rb,
lib/polar-accesslink-api-gem/models/sleep.rb,
lib/polar-accesslink-api-gem/models/zones.rb,
lib/polar-accesslink-api-gem/api/sleep_api.rb,
lib/polar-accesslink-api-gem/api/users_api.rb,
lib/polar-accesslink-api-gem/configuration.rb,
lib/polar-accesslink-api-gem/models/nights.rb,
lib/polar-accesslink-api-gem/models/sample.rb,
lib/polar-accesslink-api-gem/models/samples.rb,
lib/polar-accesslink-api-gem/models/activity.rb,
lib/polar-accesslink-api-gem/models/exercise.rb,
lib/polar-accesslink-api-gem/models/register.rb,
lib/polar-accesslink-api-gem/api/webhooks_api.rb,
lib/polar-accesslink-api-gem/models/exercises.rb,
lib/polar-accesslink-api-gem/models/recharges.rb,
lib/polar-accesslink-api-gem/api/exercises_api.rb,
lib/polar-accesslink-api-gem/models/heart_rate.rb,
lib/polar-accesslink-api-gem/models/activity_log.rb,
lib/polar-accesslink-api-gem/models/webhook_info.rb,
lib/polar-accesslink-api-gem/models/webhook_ping.rb,
lib/polar-accesslink-api-gem/models/webhook_type.rb,
lib/polar-accesslink-api-gem/models/duration_zone.rb,
lib/polar-accesslink-api-gem/models/webhook_patch.rb,
lib/polar-accesslink-api-gem/api/physical_info_api.rb,
lib/polar-accesslink-api-gem/api/training_data_api.rb,
lib/polar-accesslink-api-gem/api/daily_activity_api.rb,
lib/polar-accesslink-api-gem/models/available_sleep.rb,
lib/polar-accesslink-api-gem/models/created_webhook.rb,
lib/polar-accesslink-api-gem/models/user_extra_info.rb,
lib/polar-accesslink-api-gem/models/webhook_request.rb,
lib/polar-accesslink-api-gem/models/available_sleeps.rb,
lib/polar-accesslink-api-gem/models/exercise_hash_id.rb,
lib/polar-accesslink-api-gem/models/nightly_recharge.rb,
lib/polar-accesslink-api-gem/api/nightly_recharge_api.rb,
lib/polar-accesslink-api-gem/models/webhook_info_data.rb,
lib/polar-accesslink-api-gem/api/pull_notifications_api.rb,
lib/polar-accesslink-api-gem/models/available_user_data.rb,
lib/polar-accesslink-api-gem/models/activity_step_sample.rb,
lib/polar-accesslink-api-gem/models/activity_zone_sample.rb,
lib/polar-accesslink-api-gem/models/available_user_datas.rb,
lib/polar-accesslink-api-gem/models/created_webhook_data.rb,
lib/polar-accesslink-api-gem/models/physical_information.rb,
lib/polar-accesslink-api-gem/models/transaction_location.rb,
lib/polar-accesslink-api-gem/models/activity_step_samples.rb,
lib/polar-accesslink-api-gem/models/activity_zone_samples.rb,
lib/polar-accesslink-api-gem/models/physical_informations.rb,
lib/polar-accesslink-api-gem/models/webhook_payload_sleep.rb,
lib/polar-accesslink-api-gem/models/webhook_payload_exercise.rb
Overview
#Polar Accesslink API
#Polar Accesslink API documentation
The version of the OpenAPI document: 3.78.0 Contact: [email protected] Generated by: openapi-generator.tech OpenAPI Generator version: 5.2.1
Defined Under Namespace
Classes: Activity, ActivityLog, ActivityStepSample, ActivityStepSamples, ActivityZoneSample, ActivityZoneSamples, ApiClient, ApiError, AvailableSleep, AvailableSleeps, AvailableUserData, AvailableUserDatas, Configuration, CreatedWebhook, CreatedWebhookData, DailyActivityApi, DurationZone, Error, Exercise, ExerciseHashId, Exercises, ExercisesApi, HeartRate, NightlyRecharge, NightlyRechargeApi, Nights, PhysicalInfoApi, PhysicalInformation, PhysicalInformations, PullNotificationsApi, Recharges, Register, Sample, Samples, Sleep, SleepApi, TrainingDataApi, TransactionLocation, User, UserExtraInfo, UsersApi, WebhookInfo, WebhookInfoData, WebhookPatch, WebhookPayloadExercise, WebhookPayloadSleep, WebhookPing, WebhookRequest, WebhookType, WebhooksApi, Zone, Zones
Constant Summary collapse
- VERSION =
'0.1.0'
Class Method Summary collapse
-
.configure ⇒ Object
Customize default settings for the SDK using block.
Class Method Details
.configure ⇒ Object
Customize default settings for the SDK using block.
PolarAccesslinkApiGem.configure do |config|
config.username = "xxx"
config.password = "xxx"
end
If no block given, return the default Configuration object.
80 81 82 83 84 85 86 |
# File 'lib/polar-accesslink-api-gem.rb', line 80 def configure if block_given? yield(Configuration.default) else Configuration.default end end |