class Fitbark::Handler::V2::ActivityTotal
#activity_total¶ ↑
Fitbark::Handler::V2::ActivityTotal
define method activity_total inside Client
object
params (key/value):¶ ↑
-
dog_slug: slug ID relative to dog (String)
-
from: data start date (Date)
-
to: data end date (Date)
example usage:
client = Client.new(token: 'a5b3f8...') client.activity_total(dog_slug: 'v4s1...', from: 3.days.ago, to: Date.today)
response:¶ ↑
return an Integer object.