Class: Strava::Models::MetaAthlete

Inherits:
Response show all
Defined in:
lib/strava/models/meta_athlete.rb

Overview

Represents minimal athlete information (meta level).

Meta models contain only essential identifying information without detailed data. Used in contexts where only basic athlete reference is needed.

Instance Method Summary collapse

Instance Method Details

#firstnameString?

Returns Athlete's first name.

Returns:

  • (String, nil)

    Athlete's first name



23
# File 'lib/strava/models/meta_athlete.rb', line 23

property 'firstname'

#idInteger?

Returns Athlete identifier (may be nil for privacy).

Returns:

  • (Integer, nil)

    Athlete identifier (may be nil for privacy)



17
# File 'lib/strava/models/meta_athlete.rb', line 17

property 'id'

#lastnameString?

Returns Athlete's last name.

Returns:

  • (String, nil)

    Athlete's last name



26
# File 'lib/strava/models/meta_athlete.rb', line 26

property 'lastname'

#resource_stateInteger

Returns Resource state indicator (1=meta).

Returns:

  • (Integer)

    Resource state indicator (1=meta)



20
# File 'lib/strava/models/meta_athlete.rb', line 20

property 'resource_state'