Sha256: 0d6b044514124ef01ba1c709a4d4e99e143bc2879923f68a0f980601f0745fbc

Contents?: true

Size: 574 Bytes

Versions: 13

Compression:

Stored size: 574 Bytes

Contents

# frozen_string_literal: true

module EveOnline
  module ESI
    module Models
      class Race < Base
        def as_json
          {
            alliance_id: alliance_id,
            description: description,
            name: name,
            race_id: race_id
          }
        end

        def alliance_id
          options['alliance_id']
        end

        def description
          options['description']
        end

        def name
          options['name']
        end

        def race_id
          options['race_id']
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
eve_online-0.29.0 lib/eve_online/esi/models/race.rb
eve_online-0.28.0 lib/eve_online/esi/models/race.rb
eve_online-0.27.0 lib/eve_online/esi/models/race.rb
eve_online-0.26.0 lib/eve_online/esi/models/race.rb
eve_online-0.25.0 lib/eve_online/esi/models/race.rb
eve_online-0.24.0 lib/eve_online/esi/models/race.rb
eve_online-0.23.0 lib/eve_online/esi/models/race.rb
eve_online-0.22.0 lib/eve_online/esi/models/race.rb
eve_online-0.21.0 lib/eve_online/esi/models/race.rb
eve_online-0.20.0 lib/eve_online/esi/models/race.rb
eve_online-0.19.0 lib/eve_online/esi/models/race.rb
eve_online-0.18.0 lib/eve_online/esi/models/race.rb
eve_online-0.17.0 lib/eve_online/esi/models/race.rb