Class: Fit4Ruby::UserProfile
- Inherits:
-
FitDataRecord
- Object
- FitDataRecord
- Fit4Ruby::UserProfile
- Defined in:
- lib/fit4ruby/UserProfile.rb
Overview
This class corresponds to the old_user_profile FIT message.
Constant Summary
Constants inherited from FitDataRecord
Constants included from BDFieldNameTranslator
BDFieldNameTranslator::BD_DICT
Constants included from Converters
Converters::FACTORS, Converters::OFFSETS
Instance Attribute Summary
Attributes inherited from FitDataRecord
Instance Method Summary collapse
-
#initialize(field_values = {}) ⇒ UserProfile
constructor
Create a new UserProfile object.
Methods inherited from FitDataRecord
#<=>, #==, #export, #get, #get_as, #get_unit_by_name, #set, #set_field_values, #write
Methods included from BDFieldNameTranslator
Methods included from Converters
#conversion_factor, #conversion_offset, #fit_time_to_time, #secsToDHMS, #secsToHM, #secsToHMS, #speedToPace, #time_to_fit_time
Constructor Details
#initialize(field_values = {}) ⇒ UserProfile
Create a new UserProfile object.
23 24 25 26 |
# File 'lib/fit4ruby/UserProfile.rb', line 23 def initialize(field_values = {}) super('user_profile') set_field_values(field_values) end |