class EveOnline::ESI::CharacterCalendarEvent

Constants

API_PATH

Attributes

character_id[R]
event_id[R]

Public Class Methods

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

  @character_id = options.fetch(:character_id)
  @event_id = options.fetch(:event_id)
end

Public Instance Methods

model() click to toggle source
# File lib/eve_online/esi/character_calendar_event.rb, line 22
def model
  @model ||= Models::EventDetails.new(response)
end
path() click to toggle source
# File lib/eve_online/esi/character_calendar_event.rb, line 30
def path
  format(API_PATH, character_id: character_id, event_id: event_id)
end
scope() click to toggle source
# File lib/eve_online/esi/character_calendar_event.rb, line 26
def scope
  "esi-calendar.read_calendar_events.v1"
end