Class: Tanita::Api::Client::Innerscan
- Inherits:
-
BaseApiClient
- Object
- BaseApiClient
- Tanita::Api::Client::Innerscan
- 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
.endpoint ⇒ Object
73 74 75 |
# File 'lib/tanita/api/client.rb', line 73 def self.endpoint '/status/innerscan.json' end |
.properties ⇒ Object
77 78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/tanita/api/client.rb', line 77 def self.properties { weight: {code: '6021', type: Float}, body_fat: {code: '6022', type: Float}, muscle_mass: {code: '6023', type: Float}, physique_rating: {code: '6024', type: Integer}, visceral_fat_rating: {code: '6025', type: Float}, basal_metabolic_rate: {code: '6027', type: Integer}, metabolic_age: {code: '6028', type: Integer}, bone_mass: {code: '6029', type: Float} } end |