Class: EveOnline::ESI::Models::Type
- Defined in:
- lib/eve_online/esi/models/type.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
- #as_json ⇒ Object
- #capacity ⇒ Object
- #description ⇒ Object
- #dogma_attributes ⇒ Object
- #dogma_effects ⇒ Object
- #graphic_id ⇒ Object
- #group_id ⇒ Object
- #icon_id ⇒ Object
- #market_group_id ⇒ Object
- #mass ⇒ Object
- #name ⇒ Object
- #packaged_volume ⇒ Object
- #portion_size ⇒ Object
- #published ⇒ Object
- #radius ⇒ Object
- #type_id ⇒ Object
- #volume ⇒ Object
Methods inherited from Base
Constructor Details
This class inherits a constructor from EveOnline::ESI::Models::Base
Instance Method Details
#as_json ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# 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 ⇒ Object
26 27 28 |
# File 'lib/eve_online/esi/models/type.rb', line 26 def capacity ["capacity"] end |
#description ⇒ Object
30 31 32 |
# File 'lib/eve_online/esi/models/type.rb', line 30 def description ["description"] end |
#dogma_attributes ⇒ Object
82 83 84 |
# File 'lib/eve_online/esi/models/type.rb', line 82 def dogma_attributes @dogma_attributes ||= DogmaAttributes.new(["dogma_attributes"]).dogma_attributes end |
#dogma_effects ⇒ Object
86 87 88 |
# File 'lib/eve_online/esi/models/type.rb', line 86 def dogma_effects @dogma_effects ||= DogmaEffects.new(["dogma_effects"]).dogma_effects end |
#graphic_id ⇒ Object
34 35 36 |
# File 'lib/eve_online/esi/models/type.rb', line 34 def graphic_id ["graphic_id"] end |
#group_id ⇒ Object
38 39 40 |
# File 'lib/eve_online/esi/models/type.rb', line 38 def group_id ["group_id"] end |
#icon_id ⇒ Object
42 43 44 |
# File 'lib/eve_online/esi/models/type.rb', line 42 def icon_id ["icon_id"] end |
#market_group_id ⇒ Object
46 47 48 |
# File 'lib/eve_online/esi/models/type.rb', line 46 def market_group_id ["market_group_id"] end |
#mass ⇒ Object
50 51 52 |
# File 'lib/eve_online/esi/models/type.rb', line 50 def mass ["mass"] end |
#name ⇒ Object
54 55 56 |
# File 'lib/eve_online/esi/models/type.rb', line 54 def name ["name"] end |
#packaged_volume ⇒ Object
58 59 60 |
# File 'lib/eve_online/esi/models/type.rb', line 58 def packaged_volume ["packaged_volume"] end |
#portion_size ⇒ Object
62 63 64 |
# File 'lib/eve_online/esi/models/type.rb', line 62 def portion_size ["portion_size"] end |
#published ⇒ Object
66 67 68 |
# File 'lib/eve_online/esi/models/type.rb', line 66 def published ["published"] end |
#radius ⇒ Object
70 71 72 |
# File 'lib/eve_online/esi/models/type.rb', line 70 def radius ["radius"] end |
#type_id ⇒ Object
74 75 76 |
# File 'lib/eve_online/esi/models/type.rb', line 74 def type_id ["type_id"] end |
#volume ⇒ Object
78 79 80 |
# File 'lib/eve_online/esi/models/type.rb', line 78 def volume ["volume"] end |