Sha256: 7e091c213651208e33f828b8b3153fc7f849e19c7d1a67e1fda9e19a1b5ca377

Contents?: true

Size: 278 Bytes

Versions: 1

Compression:

Stored size: 278 Bytes

Contents

require 'strava/strava_response'

module Strava
  module V1
    class Athlete < StravaResponse
      attr_reader :id, :username, :name

      def initialize(jb = {})
        @id = jb["id"]
        @username = jb["username"]
        @name = jb["name"]
      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/athlete.rb