Class: Infermedica::Info
- Inherits:
-
Object
- Object
- Infermedica::Info
- Includes:
- Model
- Defined in:
- lib/infermedica/info.rb
Overview
Info
Class holding the response to an /info request
This includes the date and version of the API, as well as counts for the various collections available from the API
Instance Attribute Summary collapse
-
#conditions_count ⇒ Object
readonly
Returns the value of attribute conditions_count.
-
#lab_tests_count ⇒ Object
readonly
Returns the value of attribute lab_tests_count.
-
#risk_factors_count ⇒ Object
readonly
Returns the value of attribute risk_factors_count.
-
#symptoms_count ⇒ Object
readonly
Returns the value of attribute symptoms_count.
-
#updated_at ⇒ Object
readonly
Returns the value of attribute updated_at.
Method Summary
Methods included from Model
Instance Attribute Details
#conditions_count ⇒ Object (readonly)
Returns the value of attribute conditions_count.
12 13 14 |
# File 'lib/infermedica/info.rb', line 12 def conditions_count @conditions_count end |
#lab_tests_count ⇒ Object (readonly)
Returns the value of attribute lab_tests_count.
12 13 14 |
# File 'lib/infermedica/info.rb', line 12 def lab_tests_count @lab_tests_count end |
#risk_factors_count ⇒ Object (readonly)
Returns the value of attribute risk_factors_count.
12 13 14 |
# File 'lib/infermedica/info.rb', line 12 def risk_factors_count @risk_factors_count end |
#symptoms_count ⇒ Object (readonly)
Returns the value of attribute symptoms_count.
12 13 14 |
# File 'lib/infermedica/info.rb', line 12 def symptoms_count @symptoms_count end |
#updated_at ⇒ Object (readonly)
Returns the value of attribute updated_at.
12 13 14 |
# File 'lib/infermedica/info.rb', line 12 def updated_at @updated_at end |