Sha256: 7562d325cb6faf03f462e0eddb8cc5f3838069d8db4360907764d55efa9a8660
Contents?: true
Size: 400 Bytes
Versions: 1
Compression:
Stored size: 400 Bytes
Contents
require 'strava/strava_response' require 'strava/v1/models/segment' require 'strava/v1/models/athlete' module Strava module V1 class Effort < StravaResponse attr_reader :id, :elapsed_time, :athlete def initialize(js) @id = js["id"] @elapsed_time = js["elapsed_time"] @athlete = Athlete.new(js["athlete"]) if !js["athlete"].nil? end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
strava-api-v2-0.1 | lib/strava/v1/models/effort.rb |