Module: PolarAccesslink

Defined in:
lib/polar_accesslink/version.rb,
lib/polar_accesslink.rb,
lib/polar_accesslink/api_error.rb,
lib/polar_accesslink/api_client.rb,
lib/polar_accesslink/api/sleep_api.rb,
lib/polar_accesslink/api/users_api.rb,
lib/polar_accesslink/configuration.rb,
lib/polar_accesslink/api/webhooks_api.rb,
lib/polar_accesslink/api/exercises_api.rb,
lib/polar_accesslink/api/physical_info_api.rb,
lib/polar_accesslink/api/training_data_api.rb,
lib/polar_accesslink/api/daily_activity_api.rb,
lib/polar_accesslink/api/nightly_recharge_api.rb,
lib/polar_accesslink/api/pull_notifications_api.rb

Overview

#Polar Accesslink API

#Polar Accesslink API documentation

OpenAPI spec version: 3.59.0 Contact: [email protected] Generated by: github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.16

Defined Under Namespace

Classes: ApiClient, ApiError, Configuration, DailyActivityApi, ExercisesApi, NightlyRechargeApi, PhysicalInfoApi, PullNotificationsApi, SleepApi, TrainingDataApi, UsersApi, WebhooksApi

Constant Summary collapse

VERSION =
'1.0.0'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

PolarAccesslink.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



40
41
42
43
44
45
46
# File 'lib/polar_accesslink.rb', line 40

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end