Sha256: 449bc04615b74b27447a9720724f9c225087c7d6bc64d057d739f6168318b096
Contents?: true
Size: 454 Bytes
Versions: 2
Compression:
Stored size: 454 Bytes
Contents
# frozen_string_literal: true module EveOnline module ESI module Models class PlanetShort < Base def as_json { planet_id: planet_id, } end def planet_id options["planet_id"] end def asteroid_belt_ids options.fetch("asteroid_belts", []) end def moon_ids options.fetch("moons", []) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
eve_online-0.31.0 | lib/eve_online/esi/models/planet_short.rb |
eve_online-0.30.0 | lib/eve_online/esi/models/planet_short.rb |