README.rdoc in simplificator-withings-0.4.1 vs README.rdoc in simplificator-withings-0.4.2
- old
+ new
@@ -89,11 +89,14 @@
enable/disable sharing, disabling it will reset the public key
user.share() # share all
user.share(Withings::SCALE, Withings::BLOOD_PRESSURE_MONITOR)
user.share(0)
-You can handle subscriptions through the API
+You can handle subscriptions through the API (all devices currently known => Scale + Blood Pressure Monitor)
user.subscribe_notification('http://foo.bar.com', 'test subscription')
+Specify what devices you are interested
+ user.subscribe_notification('http://foo.bar.com', 'test subscription', Withings::SCALE, Withings::BLOOD_PRESSURE_MONITOR)
+
user.describe_notification('http://foo.bar.com')
user.revoke_notification('http://foo.bar.com')
And finally you can get measurements, after all this is what it's for
user.measurement_groups(:per_page => 10, :page => 1, :end_at => Time.now)