Sha256: 0c20f569f8a5296a4167250a2a5cb2de7bc36879215ec077e231bb8b1f43ccd7

Contents?: true

Size: 596 Bytes

Versions: 10

Compression:

Stored size: 596 Bytes

Contents

# frozen_string_literal: true

module EveOnline
  module ESI
    module Models
      class SystemKill < Base
        def as_json
          {
            npc_kills: npc_kills,
            pod_kills: pod_kills,
            ship_kills: ship_kills,
            system_id: system_id
          }
        end

        def npc_kills
          options['npc_kills']
        end

        def pod_kills
          options['pod_kills']
        end

        def ship_kills
          options['ship_kills']
        end

        def system_id
          options['system_id']
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

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