Class: Tanita::Api::Client::Sphygmomanometer

Inherits:
BaseApiClient show all
Defined in:
lib/tanita/api/client.rb

Class Method Summary collapse

Methods inherited from BaseApiClient

#initialize, #inspect, #status

Methods included from HttpHelper

#generate_uri, #parse_json, #request, #time_format

Constructor Details

This class inherits a constructor from Tanita::Api::Client::BaseApiClient

Class Method Details

.endpointObject



92
93
94
# File 'lib/tanita/api/client.rb', line 92

def self.endpoint
  '/status/sphygmomanometer.json'
end

.propertiesObject



96
97
98
99
100
101
102
# File 'lib/tanita/api/client.rb', line 96

def self.properties
  {
    :maximal_pressure => {:code =>  '622E', :type =>  Integer},
    :minimal_pressure => {:code =>  '622F', :type =>  Integer},
    :pulse => {:code =>  '6230', :type =>  Integer}
  }
end