class Fitbark::Data::DailyGoal
Defines structure for dog's daily points goal.
Original attribute names from source API:
-
goal,
-
date
Public Instance Methods
date()
click to toggle source
parse String value into Date for date attribute
# File lib/fitbark/data/daily_goal.rb, line 12 def date date_parser(self[:date]) end
Also aliased as: set_on
goal_points()
click to toggle source
an alias for goal attribute
# File lib/fitbark/data/daily_goal.rb, line 19 def goal_points self[:goal] end