1
0
mirror of https://github.com/elisspace/FxLifeSheet.git synced 2026-08-29 15:44:00 +00:00

Code style

This commit is contained in:
Felix Krause
2021-12-04 13:46:20 +01:00
parent a4e6e4a800
commit f9dc3bbe49

View File

@@ -197,7 +197,8 @@ class API
# Day of week = 1 - 7, Monday is 1
# We want Sunday to be 0
def day_of_week(date) 7 - date.cwday
def day_of_week(date)
7 - date.cwday
end
def database
@@ -211,9 +212,12 @@ class API
end
if __FILE__ == $0
puts API.new.bucket(
by: "gym",
value: "steps",
start_date: ENV["DEFAULT_MIN_DATE"].strip
# puts API.new.bucket(
# by: "gym",
# value: "steps",
# start_date: ENV["DEFAULT_MIN_DATE"].strip
# )
puts API.new.pie_data(
key: "swarmCheckinAddressCity",
)
end
end