class EveOnline::ESI::CharacterCorporationHistory
Constants
- API_PATH
Attributes
character_id[R]
Public Class Methods
new(options)
click to toggle source
Calls superclass method
EveOnline::ESI::Base::new
# File lib/eve_online/esi/character_corporation_history.rb, line 10 def initialize(options) super @character_id = options.fetch(:character_id) end
Public Instance Methods
entries()
click to toggle source
# File lib/eve_online/esi/character_corporation_history.rb, line 16 def entries @entries ||= begin output = [] response.each do |record| output << Models::CharacterCorporationHistory.new(record) end output end end
path()
click to toggle source
# File lib/eve_online/esi/character_corporation_history.rb, line 30 def path format(API_PATH, character_id: character_id) end
scope()
click to toggle source
# File lib/eve_online/esi/character_corporation_history.rb, line 27 def scope end