Skip to content

Commit

Permalink
add ecg scope to defalt config value
Browse files Browse the repository at this point in the history
  • Loading branch information
zokioki committed Dec 28, 2023
1 parent 206b64f commit 4502b93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ When initializing a `FitbitAPI::Client` instance, you're given access to a handf
| `api_version` | API version to be used when making requests | `"1"` |
| `unit_system` | The measurement unit system to use for response values | `"en_US"` |
| `locale` | The locale to use for response values | `"en_US"` |
| `scope` | A list of permissions being requested (array or space-delimited string) | `%w[activity nutrition profile settings sleep social weight heartrate respiratory_rate oxygen_saturation cardio_fitness temperature]` |
| `scope` | A list of permissions being requested (array or space-delimited string) | `%w[activity nutrition profile settings sleep social weight heartrate respiratory_rate oxygen_saturation cardio_fitness temperature electrocardiogram]` |
| `snake_case_keys` | Transform response payload's keys to snake case format | `false` |
| `symbolize_keys` | Transform response payload's keys to symbols | `false` |
| `auto_refresh_token` | Automatically refreshes the access token once expired | `true` |
Expand Down
2 changes: 1 addition & 1 deletion lib/fitbit_api/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module FitbitAPI
define_setting :locale, 'en_US'
define_setting :scope, %w[activity nutrition profile settings sleep social weight
heartrate respiratory_rate oxygen_saturation cardio_fitness
temperature]
temperature electrocardiogram]

define_setting :api_version, '1'

Expand Down

0 comments on commit 4502b93

Please sign in to comment.