Class: FreestyleLibre::ExportFileParseResult

Inherits:
Object
  • Object
show all
Defined in:
lib/freestyle_libre/export_file_parse_results.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(export_file_path) ⇒ ExportFileParseResult

Returns a new instance of ExportFileParseResult.



5
6
7
8
9
10
# File 'lib/freestyle_libre/export_file_parse_results.rb', line 5

def initialize(export_file_path)
  @auto_measurements = []
  @manual_measurements = []
  @time_changes = []
  parse_file(export_file_path)
end

Instance Attribute Details

#auto_measurementsObject (readonly)

Returns the value of attribute auto_measurements.



3
4
5
# File 'lib/freestyle_libre/export_file_parse_results.rb', line 3

def auto_measurements
  @auto_measurements
end

#manual_measurementsObject (readonly)

Returns the value of attribute manual_measurements.



3
4
5
# File 'lib/freestyle_libre/export_file_parse_results.rb', line 3

def manual_measurements
  @manual_measurements
end

#patient_idObject (readonly)

Returns the value of attribute patient_id.



3
4
5
# File 'lib/freestyle_libre/export_file_parse_results.rb', line 3

def patient_id
  @patient_id
end

#patient_nameObject (readonly)

Returns the value of attribute patient_name.



3
4
5
# File 'lib/freestyle_libre/export_file_parse_results.rb', line 3

def patient_name
  @patient_name
end