Sha256: 0604bbb0b0fa9a695365b37ecf7903755021fb65cbcf5b6a9a8a7de043335f10

Contents?: true

Size: 260 Bytes

Versions: 6

Compression:

Stored size: 260 Bytes

Contents

module Strava
  module Models
    class ClubAdmin < Model
      property 'resource_state'
      property 'firstname'
      property 'lastname'

      def name
        [firstname, lastname].compact.join(' ') if firstname || lastname
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
strava-ruby-client-0.4.2 lib/strava/models/club_admin.rb
strava-ruby-client-0.4.1 lib/strava/models/club_admin.rb
strava-ruby-client-0.4.0 lib/strava/models/club_admin.rb
strava-ruby-client-0.3.2 lib/strava/models/club_admin.rb
strava-ruby-client-0.3.1 lib/strava/models/club_admin.rb
strava-ruby-client-0.3.0 lib/strava/models/club_admin.rb