class EveOnline::ESI::Character

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.rb, line 14
def initialize(options)
  super

  @character_id = options.fetch(:character_id)
end

Public Instance Methods

model() click to toggle source
# File lib/eve_online/esi/character.rb, line 24
def model
  @model ||= Models::Character.new(response)
end
path() click to toggle source
# File lib/eve_online/esi/character.rb, line 31
def path
  format(API_PATH, character_id: character_id)
end
scope() click to toggle source
# File lib/eve_online/esi/character.rb, line 28
def scope
end