Class: Fit4Ruby::DataSources

Inherits:
FitDataRecord show all
Defined in:
lib/fit4ruby/DataSources.rb

Overview

The DataSources objects are generated by message 22. This message type is not documented by Garmin and hence the message name and all field names and their interpretation are guessed. Unless this message gets officially documented, all names are subject to change. Even minor version changes of this library can break the API for this message type.

Constant Summary

Constants inherited from FitDataRecord

FitDataRecord::RecordOrder

Constants included from BDFieldNameTranslator

BDFieldNameTranslator::BD_DICT

Instance Attribute Summary

Attributes inherited from FitDataRecord

#message, #timestamp

Instance Method Summary collapse

Methods inherited from FitDataRecord

#<=>, #==, #export, #get, #get_as, #get_unit_by_name, #set, #set_field_values, #write

Methods included from BDFieldNameTranslator

#to_bd_field_name

Methods included from Converters

#conversion_factor, #fit_time_to_time, #secsToDHMS, #secsToHM, #secsToHMS, #speedToPace, #time_to_fit_time

Constructor Details

#initialize(field_values = {}) ⇒ DataSources

Returns a new instance of DataSources.



24
25
26
27
# File 'lib/fit4ruby/DataSources.rb', line 24

def initialize(field_values = {})
  super('data_sources')
  set_field_values(field_values)
end

Instance Method Details

#check(index) ⇒ Object



29
30
# File 'lib/fit4ruby/DataSources.rb', line 29

def check(index)
end