Class: Infermedica::Info

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from Model

#initialize

Instance Attribute Details

#conditions_countObject (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_countObject (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_countObject (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_countObject (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_atObject (readonly)

Returns the value of attribute updated_at.



12
13
14
# File 'lib/infermedica/info.rb', line 12

def updated_at
  @updated_at
end