def goals(period)
      unless period && %w(daily weekly).include?(period)
        raise FitgemOauth2::InvalidArgumentError, "Goal period should either be 'daily' or 'weekly'"
      end
      get_call("user/#{user_id}/activities/goals/#{period}.json")
    end
def goals(period)
      unless period && %w(daily weekly).include?(period)
        raise FitgemOauth2::InvalidArgumentError, "Goal period should either be 'daily' or 'weekly'"
      end
      get_call("user/#{user_id}/activities/goals/#{period}.json")
    end
======================================
      Activity Goals
 ======================================
 retrieve activity goals for a period
 @period the period for which the goals need to be retrieved. either 'weekly' or 'daily'