class EveOnline::ESI::CharacterCalendar
Constants
- API_PATH
Attributes
character_id[R]
from_event[R]
Public Class Methods
new(options)
click to toggle source
Calls superclass method
EveOnline::ESI::Base::new
# File lib/eve_online/esi/character_calendar.rb, line 10 def initialize(options) super @character_id = options.fetch(:character_id) @from_event = options.fetch(:from_event, nil) end
Public Instance Methods
additional_query_params()
click to toggle source
# File lib/eve_online/esi/character_calendar.rb, line 32 def additional_query_params [:from_event] end
events()
click to toggle source
# File lib/eve_online/esi/character_calendar.rb, line 17 def events @events ||= begin output = [] response.each do |event| output << Models::Event.new(event) end output end end
path()
click to toggle source
# File lib/eve_online/esi/character_calendar.rb, line 36 def path format(API_PATH, character_id: character_id) end
scope()
click to toggle source
# File lib/eve_online/esi/character_calendar.rb, line 28 def scope "esi-calendar.read_calendar_events.v1" end