class Fit4Ruby::FileId

Public Class Methods

new(field_values = {}) click to toggle source
Calls superclass method
# File lib/fit4ruby/FileId.rb, line 19
def initialize(field_values = {})
  super('file_id')
  @serial_number = 1234567890
  # Ignore the sub-seconds to avoid problems when comparing records.
  @time_created = Time.at(Time.now.to_i)
  @manufacturer = 'development'
  @type = 'activity'
  @product = 0

  set_field_values(field_values)
end