class EveOnline::ESI::WarKillmails

Constants

API_PATH

Attributes

page[R]
war_id[R]

Public Class Methods

new(options = {}) click to toggle source
Calls superclass method EveOnline::ESI::Base::new
# File lib/eve_online/esi/war_killmails.rb, line 10
def initialize(options = {})
  super

  @war_id = options.fetch(:war_id)
  @page = options.fetch(:page, 1)
end

Public Instance Methods

additional_query_params() click to toggle source
# File lib/eve_online/esi/war_killmails.rb, line 31
def additional_query_params
  [:page]
end
killmails() click to toggle source
# File lib/eve_online/esi/war_killmails.rb, line 17
def killmails
  @killmails ||=
    begin
      output = []
      response.each do |killmail|
        output << Models::KillmailShort.new(killmail)
      end
      output
    end
end
path() click to toggle source
# File lib/eve_online/esi/war_killmails.rb, line 35
def path
  format(API_PATH, war_id: war_id)
end
scope() click to toggle source
# File lib/eve_online/esi/war_killmails.rb, line 28
def scope
end