Class: EveOnline::ESI::Models::Ancestry

Inherits:
Base
  • Object
show all
Defined in:
lib/eve_online/esi/models/ancestry.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

#ancestry_idObject



18
19
20
# File 'lib/eve_online/esi/models/ancestry.rb', line 18

def ancestry_id
  options['id']
end

#as_jsonObject



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

def as_json
  {
    ancestry_id: ancestry_id,
    name: name,
    bloodline_id: bloodline_id,
    description: description,
    short_description: short_description,
    icon_id: icon_id
  }
end

#bloodline_idObject



26
27
28
# File 'lib/eve_online/esi/models/ancestry.rb', line 26

def bloodline_id
  options['bloodline_id']
end

#descriptionObject



30
31
32
# File 'lib/eve_online/esi/models/ancestry.rb', line 30

def description
  options['description']
end

#icon_idObject



38
39
40
# File 'lib/eve_online/esi/models/ancestry.rb', line 38

def icon_id
  options['icon_id']
end

#nameObject



22
23
24
# File 'lib/eve_online/esi/models/ancestry.rb', line 22

def name
  options['name']
end

#short_descriptionObject



34
35
36
# File 'lib/eve_online/esi/models/ancestry.rb', line 34

def short_description
  options['short_description']
end