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



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

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
  {
    bloodline_id: bloodline_id,
    description: description,
    icon_id: icon_id,
    ancestry_id: ancestry_id,
    name: name,
    short_description: short_description
  }
end

#bloodline_idObject



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

def bloodline_id
  options["bloodline_id"]
end

#descriptionObject



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

def description
  options["description"]
end

#icon_idObject



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

def icon_id
  options["icon_id"]
end

#nameObject



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

def name
  options["name"]
end

#short_descriptionObject



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

def short_description
  options["short_description"]
end