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

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

Instance Attribute Summary

Attributes inherited from Object

#attributes, #body, #headers

Instance Method Summary collapse

Methods inherited from Object

#initialize, #method_missing, #respond_to_missing?

Methods included from ParsedHeaders

#cache_status, #error_limit_remain, #error_limit_reset, #etag, #ratelimit_group, #ratelimit_limit, #ratelimit_remaining, #ratelimit_used, #request_id, #total_pages

Constructor Details

This class inherits a constructor from EveOnline::ESI::Object

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class EveOnline::ESI::Object

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: attributes.collision_file,
    graphic_file: attributes.graphic_file,
    graphic_id: attributes.graphic_id,
    icon_folder: attributes.icon_folder,
    sof_dna: attributes.sof_dna,
    sof_fation_name: attributes.sof_fation_name,
    sof_hull_name: attributes.sof_hull_name,
    sof_race_name: attributes.sof_race_name
  }
end