Sha256: 98b65480a8906a6f352974994ff62d162ae73bf663e6af10343dcd2721b869fd
Contents?: true
Size: 910 Bytes
Versions: 6
Compression:
Stored size: 910 Bytes
Contents
# frozen_string_literal: true module Strava module Models class Lap < Strava::Models::Response include Mixins::Time include Mixins::Distance include Mixins::Elevation include Mixins::StartDateLocal property 'id' property 'resource_state' property 'name' property 'activity', transform_with: ->(v) { Strava::Models::Activity.new(v) } property 'athlete', transform_with: ->(v) { Strava::Models::Athlete.new(v) } property 'start_date', transform_with: ->(v) { Time.parse(v) } property 'start_index' property 'end_index' property 'average_speed' property 'max_speed' property 'average_heartrate' property 'max_heartrate' property 'lap_index' property 'split' property 'pace_zone' property 'average_cadence' property 'device_watts' property 'average_watts' end end end
Version data entries
6 entries across 6 versions & 1 rubygems