Class: Tanita::Api::Client::Pedometer
- Inherits:
-
BaseApiClient
- Object
- BaseApiClient
- Tanita::Api::Client::Pedometer
- 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
106 107 108 |
# File 'lib/tanita/api/client.rb', line 106 def self.endpoint '/status/pedometer.json' end |
.properties ⇒ Object
110 111 112 113 114 115 116 |
# File 'lib/tanita/api/client.rb', line 110 def self.properties { steps: {code: '6331', type: Integer}, exercise: {code: '6335', type: Integer}, calories: {code: '6336', type: Integer} } end |