Class: EveOnline::ESI::Models::Graphic

Inherits:
Base
  • Object
show all
Defined in:
lib/eve_online/esi/models/graphic.rb

Instance Attribute Summary

Attributes inherited from Base

#options

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from EveOnline::ESI::Models::Base

Instance Method Details

#as_jsonObject



7
8
9
10
11
12
13
14
15
16
17
18
# File 'lib/eve_online/esi/models/graphic.rb', line 7

def as_json
  {
    collision_file: collision_file,
    graphic_file: graphic_file,
    graphic_id: graphic_id,
    icon_folder: icon_folder,
    sof_dna: sof_dna,
    sof_fation_name: sof_fation_name,
    sof_hull_name: sof_hull_name,
    sof_race_name: sof_race_name
  }
end

#collision_fileObject



20
21
22
# File 'lib/eve_online/esi/models/graphic.rb', line 20

def collision_file
  options["collision_file"]
end

#graphic_fileObject



24
25
26
# File 'lib/eve_online/esi/models/graphic.rb', line 24

def graphic_file
  options["graphic_file"]
end

#graphic_idObject



28
29
30
# File 'lib/eve_online/esi/models/graphic.rb', line 28

def graphic_id
  options["graphic_id"]
end

#icon_folderObject



32
33
34
# File 'lib/eve_online/esi/models/graphic.rb', line 32

def icon_folder
  options["icon_folder"]
end

#sof_dnaObject



36
37
38
# File 'lib/eve_online/esi/models/graphic.rb', line 36

def sof_dna
  options["sof_dna"]
end

#sof_fation_nameObject



40
41
42
# File 'lib/eve_online/esi/models/graphic.rb', line 40

def sof_fation_name
  options["sof_fation_name"]
end

#sof_hull_nameObject



44
45
46
# File 'lib/eve_online/esi/models/graphic.rb', line 44

def sof_hull_name
  options["sof_hull_name"]
end

#sof_race_nameObject



48
49
50
# File 'lib/eve_online/esi/models/graphic.rb', line 48

def sof_race_name
  options["sof_race_name"]
end