Sha256: fda6859d1110679f42da017b3280f7144e9cce4761eed8fefeec46800dcdd71f

Contents?: true

Size: 419 Bytes

Versions: 15

Compression:

Stored size: 419 Bytes

Contents

# frozen_string_literal: true

module EveOnline
  module ESI
    module Models
      class AllianceShort < Base
        def as_json
          {
            alliance_id: alliance_id,
            alliance_name: alliance_name
          }
        end

        def alliance_id
          options['alliance_id']
        end

        def alliance_name
          options['alliance_name']
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

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