class EveOnline::ESI::Models::Type
Public Instance Methods
as_json()
click to toggle source
# File lib/eve_online/esi/models/type.rb, line 7 def as_json { capacity: capacity, description: description, graphic_id: graphic_id, group_id: group_id, icon_id: icon_id, market_group_id: market_group_id, mass: mass, name: name, packaged_volume: packaged_volume, portion_size: portion_size, published: published, radius: radius, type_id: type_id, volume: volume } end
capacity()
click to toggle source
# File lib/eve_online/esi/models/type.rb, line 26 def capacity options["capacity"] end
description()
click to toggle source
# File lib/eve_online/esi/models/type.rb, line 30 def description options["description"] end
dogma_attributes()
click to toggle source
# File lib/eve_online/esi/models/type.rb, line 82 def dogma_attributes @dogma_attributes ||= DogmaAttributes.new(options["dogma_attributes"]).dogma_attributes end
dogma_effects()
click to toggle source
# File lib/eve_online/esi/models/type.rb, line 86 def dogma_effects @dogma_effects ||= DogmaEffects.new(options["dogma_effects"]).dogma_effects end
graphic_id()
click to toggle source
# File lib/eve_online/esi/models/type.rb, line 34 def graphic_id options["graphic_id"] end
group_id()
click to toggle source
# File lib/eve_online/esi/models/type.rb, line 38 def group_id options["group_id"] end
icon_id()
click to toggle source
# File lib/eve_online/esi/models/type.rb, line 42 def icon_id options["icon_id"] end
market_group_id()
click to toggle source
# File lib/eve_online/esi/models/type.rb, line 46 def market_group_id options["market_group_id"] end
mass()
click to toggle source
# File lib/eve_online/esi/models/type.rb, line 50 def mass options["mass"] end
name()
click to toggle source
# File lib/eve_online/esi/models/type.rb, line 54 def name options["name"] end
packaged_volume()
click to toggle source
# File lib/eve_online/esi/models/type.rb, line 58 def packaged_volume options["packaged_volume"] end
portion_size()
click to toggle source
# File lib/eve_online/esi/models/type.rb, line 62 def portion_size options["portion_size"] end
published()
click to toggle source
# File lib/eve_online/esi/models/type.rb, line 66 def published options["published"] end
radius()
click to toggle source
# File lib/eve_online/esi/models/type.rb, line 70 def radius options["radius"] end
type_id()
click to toggle source
# File lib/eve_online/esi/models/type.rb, line 74 def type_id options["type_id"] end
volume()
click to toggle source
# File lib/eve_online/esi/models/type.rb, line 78 def volume options["volume"] end