Sha256: af9437e3c971fb44d0da1b41fb773afe0b623cafab26e77898444ca0d9ce0f47

Contents?: true

Size: 310 Bytes

Versions: 6

Compression:

Stored size: 310 Bytes

Contents

# frozen_string_literal: true

module Strava
  module Models
    class ClubAdmin < Strava::Models::Response
      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-2.2.0 lib/strava/models/club_admin.rb
strava-ruby-client-2.1.0 lib/strava/models/club_admin.rb
strava-ruby-client-2.0.0 lib/strava/models/club_admin.rb
strava-ruby-client-1.1.0 lib/strava/models/club_admin.rb
strava-ruby-client-1.0.1 lib/strava/models/club_admin.rb
strava-ruby-client-1.0.0 lib/strava/models/club_admin.rb