Sha256: ce0a4edac498450a2bda5eb7ccaf695dfe0cfc297e372c0fdb9e6edebe065d3a

Contents?: true

Size: 419 Bytes

Versions: 12

Compression:

Stored size: 419 Bytes

Contents

# frozen_string_literal: true

module EveOnline
  module ESI
    module Models
      class KillmailShort < Base
        def as_json
          {
            killmail_hash: killmail_hash,
            killmail_id: killmail_id
          }
        end

        def killmail_hash
          options['killmail_hash']
        end

        def killmail_id
          options['killmail_id']
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

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