lib/strava/api/endpoints/activities.rb
#
# List logged-in athlete activities.
#
# @option options [Integer] :before
#   An epoch timestamp to use for filtering activities that have taken place before a certain time.
# @option options [Integer] :after
#   An epoch timestamp to use for filtering activities that have taken place after a certain time.
# @option options [Integer] :page
#   Page number.
# @option options [Integer] :per_page
#   Number of items per page. Defaults to 30.
#
List logged-in athlete activities.
List logged - in athlete activities .
def athlete_activities(options = {}, &block)
          options = options.dup if options.key?(:after) || options.key?(:before)
          options[:after] = options[:after].to_i if options[:after]
          options[:before] = options[:before].to_i if options[:before]
          paginate 'athlete/activities', options, Strava::Models::Activity, &block
        end
def athlete_activities ( options = { } , & block ) options = options . dup if options . key? ( :after ) || options . key? ( :before ) options [ :after ] = options [ :after ] . to_i if options [ :after ] options [ :before ] = options [ :before ] . to_i if options [ :before ] paginate 'athlete/activities' , options , Strava :: Models :: Activity , & block end
List logged-in athlete activities.
List logged - in athlete activities .
options
:per_page Number of items per page. Defaults to 30.
: per_page Number of items per page . Defaults to 30 .
block