Module: Howami
- Defined in:
- lib/howami.rb,
lib/howami/fitbit.rb,
lib/howami/version.rb,
lib/howami/credentials.rb,
lib/howami/configuration.rb,
lib/howami/authentication.rb
Defined Under Namespace
Classes: Authentication, Configuration, Fitbit
Constant Summary collapse
- VERSION =
"0.0.2"
- CONSUMER_KEY =
'b116074974f44c12934d472fde4aac69'
- CONSUMER_SECRET =
'f62a08f63b954b4bbd0f0de235f27edd'
Class Method Summary collapse
Class Method Details
.cli_run!(fit_obj) ⇒ Object
8 9 10 11 12 |
# File 'lib/howami.rb', line 8 def self.cli_run!(fit_obj) puts "Current weight: #{fit_obj.weight_str} (#{fit_obj.fat_str} body fat)" puts "Activity level: #{fit_obj.steps_str} thus far today" puts "Sleep last night: #{fit_obj.sleep_str}" end |