Class: FreestyleLibre::ExportFileParseResult
- Inherits:
-
Object
- Object
- FreestyleLibre::ExportFileParseResult
- Defined in:
- lib/freestyle_libre/export_file_parse_results.rb
Instance Attribute Summary collapse
-
#auto_measurements ⇒ Object
readonly
Returns the value of attribute auto_measurements.
-
#manual_measurements ⇒ Object
readonly
Returns the value of attribute manual_measurements.
-
#patient_id ⇒ Object
readonly
Returns the value of attribute patient_id.
-
#patient_name ⇒ Object
readonly
Returns the value of attribute patient_name.
Instance Method Summary collapse
-
#initialize(export_file_path) ⇒ ExportFileParseResult
constructor
A new instance of ExportFileParseResult.
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_measurements ⇒ Object (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_measurements ⇒ Object (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_id ⇒ Object (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_name ⇒ Object (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 |